added docker up
This commit is contained in:
parent
67b7ccec59
commit
8ab2a67e46
@ -8,4 +8,4 @@ Make sure the projectName is set correctly, it's very important.
|
||||
1. cd projectName
|
||||
1. Setup your .env file ```mv env.sample .env``` then edit with your favorite editor.
|
||||
1. bash bin/new_project.sh
|
||||
1. sudo docker-compose up -d
|
||||
1. bash bin/docker_up.sh
|
4
bin/docker_up.sh
Normal file
4
bin/docker_up.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -f html/index.html
|
||||
sudo docker-compose up -d
|
@ -15,9 +15,9 @@ source .env
|
||||
set +o allexport
|
||||
|
||||
# Run Git setup
|
||||
bash bin/new_project/git_setup.sh
|
||||
bash bin/inc_new_project/git_setup.sh
|
||||
|
||||
# Run remote Git setup
|
||||
if [ "$SETGITEA" = "true" ]; then
|
||||
bash bin/new_project/remote_git_setup.sh
|
||||
bash bin/inc_new_project/remote_git_setup.sh
|
||||
fi
|
||||
|
Reference in New Issue
Block a user