Skip to content

Commit

Permalink
Do not seed (slow) at deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaunier committed May 6, 2024
1 parent 240271c commit a6ee859
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: bundle exec puma -C config/puma.rb
release: bundle exec rails db:migrate db:seed
release: bundle exec rails db:migrate
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
## Deployment

```bash
git remote add dokku dokku@students.lewagon.engineering:recipes
git push dokku master
Trigger GitHub Action

# If necessary

# Seed database

If necessary, you can wipe and re-seed the `Recipe` database with:

```
ssh dokku@students.lewagon.engineering run recipes rails db:seed
```

0 comments on commit a6ee859

Please sign in to comment.