-
Notifications
You must be signed in to change notification settings - Fork 2
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
3 changed files
with
57 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
# exit on error | ||
set -o errexit | ||
|
||
bundle install | ||
bundle exec rake assets:precompile | ||
bundle exec rake assets:clean | ||
|
||
bundle exec rails db:migrate | ||
bundle exec rails db:seed |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
databases: | ||
- name: database | ||
databaseName: database | ||
user: shore | ||
plan: starter | ||
|
||
services: | ||
- type: web | ||
name: web | ||
env: ruby | ||
buildCommand: "./bin/render-build.sh" | ||
startCommand: "bundle exec puma -C config/puma.rb" | ||
envVars: | ||
- key: DATABASE_URL | ||
fromDatabase: | ||
name: database | ||
property: connectionString | ||
- fromGroup: settings | ||
- type: worker | ||
name: worker | ||
env: ruby | ||
buildCommand: "bundle install && bundle exec rake assets:precompile && bundle exec rake assets:clean" | ||
startCommand: "bundle exec rake solid_queue:start" | ||
envVars: | ||
- key: DATABASE_URL | ||
fromDatabase: | ||
name: database | ||
property: connectionString | ||
- fromGroup: settings | ||
|
||
envVarGroups: | ||
- name: settings | ||
envVars: | ||
- key: FONTAWESOME_NPM_AUTH_TOKEN | ||
sync: false | ||
- key: POSTMARK_API_TOKEN | ||
sync: false | ||
- key: HIDE_THINGS | ||
generateValue: true | ||
- key: SECRET_KEY_BASE | ||
generateValue: true |