1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added env variables and a production docker setup

This commit is contained in:
2015-10-22 16:14:50 -04:00
parent d1949dc75e
commit 9d6b8bd107
10 changed files with 79 additions and 7 deletions

8
deploy/deploy-prod.sh Executable file
View File

@@ -0,0 +1,8 @@
gpg prod.env.gpg
cd ..
bash rails-prod.sh wrestlingdev
cd deploy
sudo docker-compose -f docker-compose-prod.yml up -d
echo Make sure your local mysql database has a db for wrestlingdev
echo "mysqldump -u guy -ppassword -h host database_name > database.sql"
echo "mysql -u guy -ppassword -h host database_name < database.sql"