- Stop your existing postgres, redis and elasticsearch services and make sure they dont start on start-up .
1.a. List of services:
brew services list
. 1.b. Stop services:brew services stop <name>
. 1.c. Remove from load:launchctl remove <name>
. - Download Docker for Mac
- Create a Docker Hub account if you don’t already have one. After logging in, remember your user-id which will be displayed in the top right corner. Mine is jeckstein
- Login to docker via the cli:
docker login
from the project root. - Then
docker-compose up
from the project root. This will initialize all environments which should result in an empty postgres db, es index and redis cache. - Run the rake tasks to re-constitute your data:
rake dev:refresh
Last active
January 29, 2018 18:22
-
-
Save sebabelmar/3689c47ce8be1355ee92551b63b23f4b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment