probably makes more sense to have this in the makefile
This commit is contained in:
1
Makefile
1
Makefile
@@ -9,6 +9,7 @@ install: submodule gitreceive sshcommand
|
|||||||
cp buildstep/buildstep /home/git/buildstep
|
cp buildstep/buildstep /home/git/buildstep
|
||||||
cp nginx-app-conf /home/git/nginx-app-conf
|
cp nginx-app-conf /home/git/nginx-app-conf
|
||||||
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
|
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
|
||||||
|
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
|
||||||
|
|
||||||
submodule:
|
submodule:
|
||||||
git submodule init
|
git submodule init
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ cd ~ && git clone ${DOKKU_REPO}
|
|||||||
cd dokku && make install
|
cd dokku && make install
|
||||||
cd buildstep && make build
|
cd buildstep && make build
|
||||||
|
|
||||||
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
|
|
||||||
/etc/init.d/nginx start
|
/etc/init.d/nginx start
|
||||||
start nginx-reloader
|
start nginx-reloader
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user