RapidMod

Composer: Magento 2 Install Script

Feb 3rd, 2016
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.52 KB | None | 0 0
  1. ; ln -s bin/magento /usr/bin/magento
  2. composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition html
  3. magento setup:install  --db-host="localhost" --db-name="<dbname>" --db-user="<dbuser>"  --db-password="<dbpassword>" --admin-firstname="<admin_firstname>" --admin-lastname="<admin_lastname>" --admin-email="<admin_email>" --admin-user="<admin_user>" --admin-password="<admin_password>" --base-url="<base_url>" --use-rewrites="1" --cleanup-database
  4. magento  setup:static-content:deploy
Advertisement
Add Comment
Please, Sign In to add comment