Merge branch 'multi-deployment' of https://github.com/b3yond/ticketfrei into multi-deployment
This commit is contained in:
commit
4b37c0df3d
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -16,3 +16,4 @@ include/
|
||||||
lib/
|
lib/
|
||||||
share/
|
share/
|
||||||
local/
|
local/
|
||||||
|
venv/
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue