Advertisement
Guest User

Untitled

a guest
Mar 18th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. #!/bin/bash
  2. SET IMENIK=mojaTrgovina
  3. SET POT=C:\Users\Jasna\xampp\htdocs\%IMENIK%
  4. SET IP=127.0.0.1
  5. SET GESLO=password
  6.  
  7.  
  8.  
  9. echo %IMENIK%
  10. md %IMENIK%
  11. cd %IMENIK%
  12.  
  13. echo CREATE DATABESE %IMENIK% | mysql -u root
  14.  
  15. call composer create-project --repository-url=https://repo.magento.com magento/project-community-edition C:\xampp\htdocs\%IMENIK%
  16.  
  17. php bin\magento setup:install --base-url-secure=https://%IP%/%IMENIK% --base-url-secure=https://%IP%/%IMENIK% --use-secure-admin=1 --use-secure=1 \
  18. --db-host=localhost --db-name=%IMENIK% --db-user=root --db-password=%GESLO% \
  19. --admin-firstname=Magento --admin-lastname=User --admin-email=jasnagolez@gmail.com \
  20. --admin-user=admin --admin-password=%GESLO% --language=sl_SI \
  21. --currency=EUR --timezone=Europe/Ljubljana --use-rewrites=1
  22.  
  23. php bin\magento setup:config:set --backend-frontname admin2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement