Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. cd ~/Local\ Sites/$1/app/
  4.  
  5. echo Installing Bedrock... Please Wait
  6.  
  7. composer create-project roots/bedrock
  8.  
  9. rm -rf public
  10.  
  11. cd ~/Local\ Sites/$1/app/bedrock/web/wp/wp-content/
  12.  
  13. rm -rf themes
  14.  
  15. mkdir themes
  16.  
  17. cd themes
  18.  
  19. composer create-project roots/sage $1
  20.  
  21. code ~/Local\ Sites/$1/app/bedrock/.env && code ~/Local\ Sites/$1/conf/nginx/site.conf
  22.  
  23. echo "****** Change root /app/public To root /app/bedrock/web ******"
  24.  
  25. echo "****** Update .env With New DB and Domain Details ******"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement