-
Notifications
You must be signed in to change notification settings - Fork 284
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
1 parent
2d97e95
commit b437e6e
Showing
2 changed files
with
22 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# exit on error | ||
set -o errexit | ||
|
||
bundle install | ||
bundle exec rake assets:precompile assets:clean 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
databases: | ||
- name: simple-form-bootstrap | ||
databaseName: "simple-form-bootstrap-db" | ||
user: sfbootstrap | ||
|
||
services: | ||
- type: web | ||
name: simple-form-boostrap | ||
runtime: ruby | ||
buildCommand: "./bin/render-build.sh" | ||
startCommand: "bundle exec puma -C config/puma.rb" | ||
envVars: | ||
- key: DATABASE_URL | ||
fromDatabase: | ||
name: "simple-form-boostrap-db" | ||
property: connectionString |