-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |