123456789101112131415161718192021222324252627 |
- #!/bin/bash
- bin/clinotty chmod u+x bin/magento
- BASE_URL=${1:-magento2.test}
- bin/clinotty bin/magento setup:install \
- --db-host=db \
- --db-name=magento \
- --db-user=magento \
- --db-password=magento \
- --base-url=https://$BASE_URL/ \
- --admin-firstname=John \
- --admin-lastname=Smith \
- --admin-email=john.smith@gmail.com \
- --admin-user=john.smith \
- --admin-password=password123 \
- --language=en_US \
- --currency=USD \
- --timezone=America/New_York \
- --use-rewrites=1
- bin/fixperms
- echo "Turning on developer mode.."
- bin/clinotty bin/magento deploy:mode:set developer
- bin/clinotty bin/magento indexer:reindex
|