-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment Stuff
James Elgar edited this page Mar 5, 2022
·
5 revisions
The following doc is for how things are done in deployed environments. Most commands will be assuming you are sshed into the digital ocean droplet at /var/now-u
.
docker-compose exec staging-api rails c
Admin.create!(email: "<EMAIL>", password: "<PASSWORD>", admin_role: 64)
docker-compose exec staging-api bash
export DATABASE_CLEANER_ALLOW_PRODUCTION=true
export DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL=true
bundle exec rake db:seed