-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need a Rails master key. The encryption key has been saved securely. We'll use db:reset instead of db:migrate since we always want to reset the database and seed it anyway.
- Loading branch information
1 parent
e5a4837
commit e796aa5
Showing
4 changed files
with
33 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 |
---|---|---|
|
@@ -17,3 +17,5 @@ | |
/app/assets/builds/* | ||
!/app/assets/builds/.keep | ||
/node_modules | ||
|
||
/config/master.key |
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,8 @@ | ||
#!/usr/bin/env bash | ||
# exit on error | ||
set -o errexit | ||
|
||
bundle install | ||
./bin/rails assets:precompile | ||
./bin/rails assets:clean | ||
./bin/rails db:reset |
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 @@ | ||
4fsqkfii8ZegJd7p+CuxH5qbtDPqmjxbJAmVoM84lxY0M/Cvi1sjviadoTuXw3eh9OooOkPaFlWQtnffoApCzl9x06LX99hcxu+87bTNUvULABU79uGW9rmNS7ZeZHuKod4MyBD41CQ8dVQqVgWOS0h7T8Pz7Dp8ixdBGzUkVm6Fwzc/qS7c7eHeg1Avjva73WsHd+N8gu085+TvtpuzP2LlakwXLSvHfb+hdYxCxwM+dIVpylyE7Z4/Rmh1b1KL6/qKESHYglaILiGGT2avPUhN4xnzdViwpLZwh3CF/jyIGuhMHJyzDQxxBxCDDBDVBFCGUtUpyYhzwFkNXJfEARRXfdORelk3cbFDawyp7E7fy406ifPRIqEkxlEalOtKuvqF1ie234fKpMROZBIHzHXLB1Qr--DsYW4vJxRVekyRBu--/K7izllLl/6xze9Jmy2dPw== |
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,22 @@ | ||
databases: | ||
- name: activeadmin-demo-test-db | ||
databaseName: mysite | ||
user: activeadmin-demo-test | ||
plan: free | ||
|
||
services: | ||
- type: web | ||
name: activeadmin-demo-test | ||
runtime: ruby | ||
plan: free | ||
buildCommand: "./bin/render-build.sh" | ||
startCommand: "./bin/rails server" | ||
envVars: | ||
- key: DATABASE_URL | ||
fromDatabase: | ||
name: mysite | ||
property: connectionString | ||
- key: RAILS_MASTER_KEY | ||
sync: false | ||
- key: WEB_CONCURRENCY | ||
value: 2 # sensible default |