Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database not persisting entries in jackhammer #79

Open
sampathmende opened this issue Feb 16, 2018 · 2 comments
Open

database not persisting entries in jackhammer #79

sampathmende opened this issue Feb 16, 2018 · 2 comments

Comments

@sampathmende
Copy link

when ever i restart the jackhammer its database entries no reloading.
every time i am running the below command to get the schema in db
bundle exec bundle install && bundle exec rake db:drop && bundle exec rake db:create && bundle exec rake db:migrate && bundle exec rake db:seed
is there any other solution to avoid running the schema every time jackhammer restarts?
why its not persisting the schema??

@kmadhusudhan
Copy link
Contributor

kmadhusudhan commented Feb 20, 2018

if your deleting db docker then this issue will come , please do not delete db docker

@kmadhusudhan
Copy link
Contributor

kmadhusudhan commented May 9, 2018

@sampathmende
Instead rebuilding jackhammer every time . please follow below steps to stop and start application from root directory .

Stop = > docker-compose stop
Start => docker-compose start
Build => docker-compose up -d

This maintains database persistence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants