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

11 lines
277 B
Bash
Raw Normal View History

2016-02-06 17:11:02 +03:00
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