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.
 
 
 

22 lines
313 B

#!/bin/sh
set -eu
( cd "$(dirname "$0")/../"
domain=www.zapashcanon.fr
sudo cp ./*.conf /etc/apache2/sites-available/
sudo mkdir -p /var/www/${domain}/
( cd src
stone
stone -c
stone
)
sudo cp -r ./src/site/* /var/www/${domain}/
sudo service apache2 restart
echo "Installed !"
)