File tree 8 files changed +36
-40
lines changed
8 files changed +36
-40
lines changed Original file line number Diff line number Diff line change 10
10
# Ignore the default SQLite database.
11
11
/db /* .sqlite3
12
12
/db /* .sqlite3-journal
13
+ /config /database.yml
13
14
14
15
# Ignore all logfiles and tempfiles.
15
16
/log /*
Original file line number Diff line number Diff line change 1
- rails : rails server -p 3333
2
- webpack : ./ bin/webpack-dev-server
1
+ release : bin/ rails db:migrate
2
+ web : bin/rails server -p $PORT -e $RAILS_ENV
Original file line number Diff line number Diff line change
1
+ rails: rails server -p 3333
2
+ webpack: ./bin/webpack-dev-server
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " elmsanity" ,
3
3
"description" : " " ,
4
- "scripts" : {
5
- "postdeploy" : " cp config/database.yml.postgresql config/database.yml; bundle exec rails db:create; bundle exec rails db:migrate; NODE_ENV=production bundle exec rails webpacker:compile"
6
- },
4
+ "scripts" : {},
7
5
"env" : {
8
6
"SECRET_KEY_BASE" : {
9
7
"generator" : " secret"
10
- },
11
- "RACK_ENV" : " staging" ,
12
- "RAILS_ENV" : " staging" ,
13
- "LOG_LEVEL" : " DEBUG" ,
14
- "HEROKU" : " true"
8
+ }
15
9
},
16
10
"formation" : {
11
+ "web" : {
12
+ "quantity" : 1
13
+ }
17
14
},
18
15
"addons" : [
19
-
16
+ {
17
+ "plan" : " heroku-postgresql" ,
18
+ "options" : {
19
+ "version" : " 9.5"
20
+ }
21
+ }
20
22
],
21
23
"buildpacks" : [
22
-
24
+ {
25
+ "url" : " heroku/nodejs"
26
+ },
27
+ {
28
+ "url" : " heroku/ruby"
29
+ }
23
30
]
24
31
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -66,4 +66,6 @@ production:
66
66
staging :
67
67
<< : *default
68
68
compile : false
69
+
70
+ # Cache manifest.json for performance
69
71
cache_manifest : true
Original file line number Diff line number Diff line change
1
+ namespace :assets do
2
+ desc "Compile assets"
3
+ task precompile : [ :environment ] do
4
+ Rake ::Task [ "webpacker:compile" ] . invoke
5
+ end
6
+ end
Original file line number Diff line number Diff line change @@ -1722,8 +1722,8 @@ error-ex@^1.2.0:
1722
1722
is-arrayish "^0.2.1"
1723
1723
1724
1724
es-abstract@^1.7.0 :
1725
- version "1.9 .0"
1726
- resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.9 .0.tgz#690829a07cae36b222e7fd9b75c0d0573eb25227 "
1725
+ version "1.10 .0"
1726
+ resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10 .0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864 "
1727
1727
dependencies :
1728
1728
es-to-primitive "^1.1.1"
1729
1729
function-bind "^1.1.1"
@@ -1887,7 +1887,7 @@ expand-range@^1.8.1:
1887
1887
dependencies :
1888
1888
fill-range "^2.1.0"
1889
1889
1890
- express@^4.13.3 :
1890
+ express@^4.16.2 :
1891
1891
version "4.16.2"
1892
1892
resolved "https://registry.yarnpkg.com/express/-/express-4.16.2.tgz#e35c6dfe2d64b7dca0a5cd4f21781be3299e076c"
1893
1893
dependencies :
@@ -5397,8 +5397,8 @@ webpack-dev-middleware@^1.11.0:
5397
5397
time-stamp "^2.0.0"
5398
5398
5399
5399
webpack-dev-server@^2.9.4 :
5400
- version "2.9.4 "
5401
- resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-2.9.4 .tgz#7883e61759c6a4b33e9b19ec4037bd4ab61428d1 "
5400
+ version "2.9.5 "
5401
+ resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-2.9.5 .tgz#79336fba0087a66ae491f4869f6545775b18daa8 "
5402
5402
dependencies :
5403
5403
ansi-html "0.0.7"
5404
5404
array-includes "^3.0.3"
@@ -5408,7 +5408,7 @@ webpack-dev-server@^2.9.4:
5408
5408
connect-history-api-fallback "^1.3.0"
5409
5409
debug "^3.1.0"
5410
5410
del "^3.0.0"
5411
- express "^4.13.3 "
5411
+ express "^4.16.2 "
5412
5412
html-entities "^1.2.0"
5413
5413
http-proxy-middleware "~0.17.4"
5414
5414
import-local "^0.1.1"
You can’t perform that action at this time.
0 commit comments