Created
August 23, 2016 20:23
-
-
Save anx21/0ceeabc55e30cf6d980ec3b5271785fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set up Vagrantfile (set provider to digitalocean) and unit files | |
In provision script, copy over unit files and git hooks | |
vagrant up && systemctl restart docker | |
Build the docker images in the git hook | |
postgres create production database | |
create superuser for psql | |
docker exec <app> rails db:reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment