Merge branch 'multi-deployment' of https://github.com/b3yond/ticketfrei into multi-deployment

This commit is contained in:
sid 2018-05-29 00:10:22 +02:00
commit 4b37c0df3d
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View file

@ -16,3 +16,4 @@ include/
lib/ lib/
share/ share/
local/ local/
venv/

View file

@ -118,9 +118,12 @@ echo "Enter your domain name into the following prompt:" && read DOMAIN
# configure nginx # configure nginx
sudo sed -r "s/example.org/$DOMAIN/g" deployment/example.org.conf > /etc/nginx/sites-enabled/$DOMAIN.conf sudo sed -r "s/example.org/$DOMAIN/g" deployment/example.org.conf > /etc/nginx/sites-enabled/$DOMAIN.conf
# create folder for socket # create folder for socket & database
sudo mkdir /var/ticketfrei sudo mkdir /var/ticketfrei
sudo chown www-data:www-data -R /var/ticketfrei sudo chown www-data:www-data -R /var/ticketfrei
# create folder for logs
sudo mkdir /var/log/ticketfrei
sudo chown www-data:www-data -R /var/log/ticketfrei sudo chown www-data:www-data -R /var/log/ticketfrei
# start up nginx # start up nginx