mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
2174edd471
Former-commit-id: a9b40f31f0753157af8500353395274b474642a2 [formerly 57875519283c5bfbfa6d852a27d72dc091157faa] [formerly bc0dde2306cf0e189d69349f344dffda393de1cc [formerly aecad9ba02f4aa09f9aef5add7df035e91e4b1a3 [formerly19aaf7bb44
]]] Former-commit-id: eb77f04e333250fef6799da788b460b77468dddf [formerly c3ddbc51302fbb8fc89410f114013b3a19f33cb8] Former-commit-id: 814d1b257f6529e8ec45ba7acfa7269967900397 Former-commit-id:6f445a7668
11 lines
277 B
Bash
11 lines
277 B
Bash
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
|
|
|