1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Added rudimentary install script

This commit is contained in:
Zack Scholl
2016-02-06 09:11:02 -05:00
parent dbcb7a42c9
commit 107e20c283
5 changed files with 109 additions and 5 deletions

10
install/install.sh Executable file
View File

@@ -0,0 +1,10 @@
apt-get update
apt-get install nginx
cp cowyo.nginx /etc/nginx/sites-available/
cp cowyo.init /etc/init.d/
ln -s /etc/nginx/sites-available/cowyo.nginx /etc/nginx/sites-enabled/cowyo.nginx
service nginx reload && service nginx restart
cd ../
go build
service cowyo.init start