You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
313 B

  1. #!/bin/sh
  2. set -eu
  3. ( cd "$(dirname "$0")/../"
  4. domain=www.zapashcanon.fr
  5. sudo cp ./*.conf /etc/apache2/sites-available/
  6. sudo mkdir -p /var/www/${domain}/
  7. ( cd src
  8. stone
  9. stone -c
  10. stone
  11. )
  12. sudo cp -r ./src/site/* /var/www/${domain}/
  13. sudo service apache2 restart
  14. echo "Installed !"
  15. )