5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 06:41:42 +00:00

inicializar la base de datos idempotentemente

This commit is contained in:
f 2019-09-13 14:31:04 -03:00
parent 1782486cdd
commit c5929c325d
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -1,3 +1,3 @@
migrate: bundle exec rake db:setup db:migrate db:seed migrate: if test -f data/production.sqlite3; then bundle exec rake db:migrate db:seed ; else bundle exec rake db:setup ; fi
sutty: bundle exec puma -d config.ru sutty: bundle exec puma -d config.ru
sidekiq: bundle exec sidekiq -t 1 sidekiq: bundle exec sidekiq -t 1