File tree 6 files changed +23
-32
lines changed
6 files changed +23
-32
lines changed 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
+ webpacker : ./bin/webpack-dev-server
3
+ 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 2
2
"name" : " elmsanity" ,
3
3
"description" : " " ,
4
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
- },
5
+ },
7
6
"env" : {
8
7
"SECRET_KEY_BASE" : {
9
8
"generator" : " secret"
19
18
20
19
],
21
20
"buildpacks" : [
22
-
21
+ { "url" : " heroku/nodejs" },
22
+ { "url" : " heroku/ruby" }
23
23
]
24
24
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -65,5 +65,15 @@ production:
65
65
66
66
staging :
67
67
<< : *default
68
- compile : false
69
- cache_manifest : true
68
+ compile : true
69
+ dev_server :
70
+ https : false
71
+ host : localhost
72
+ port : 3035
73
+ public : localhost:3035
74
+ hmr : false
75
+ # Inline should be set to true if using HMR
76
+ inline : true
77
+ overlay : true
78
+ disable_host_check : true
79
+ use_local_ip : false
Original file line number Diff line number Diff line change 5
5
"@rails/webpacker" : " ^3.0.2" ,
6
6
"coffeescript" : " 1.12.7" ,
7
7
"elm" : " ^0.18.0" ,
8
- "elm-webpack-loader" : " ^4.4.0"
8
+ "elm-webpack-loader" : " ^4.4.0" ,
9
+ "webpack-dev-server" : " ^2.9.4"
9
10
},
10
11
"devDependencies" : {
11
- "elm-hot-loader" : " ^0.5.4" ,
12
- "webpack-dev-server" : " ^2.9.4"
12
+ "elm-hot-loader" : " ^0.5.4"
13
13
}
14
14
}
You can’t perform that action at this time.
0 commit comments