updated install instructions & gitignore

This commit is contained in:
b3yond 2018-05-28 22:26:07 +02:00
parent bfd9a2d5fe
commit 83d8700e30
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