Added Procfile. Need to bring frontend/ dir up one level.

pull/336/head
Rick Carlino 2017-06-29 16:01:27 -05:00
parent b50d47a9c2
commit 8a588a4bef
3 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,7 @@ gem "pg"
gem "montrose"
gem "polymorphic_constraints"
gem "tzinfo" # For validation of user selected timezone names
gem "foreman"
# Error reporting tools.
# Active on the "official" FarmBot server, set the appropriate ENV

View File

@ -125,6 +125,8 @@ GEM
fog-xml (0.1.3)
fog-core
nokogiri (>= 1.5.11, < 2.0.0)
foreman (0.84.0)
thor (~> 0.19.1)
formatador (0.2.5)
globalid (0.4.0)
activesupport (>= 4.2.0)
@ -279,6 +281,7 @@ DEPENDENCIES
faker
figaro
fog-google!
foreman
jwt
letter_opener
montrose

3
Procfile 100644
View File

@ -0,0 +1,3 @@
web: bin/rails server -p $PORT -e $RAILS_ENV
worker: worker bundle exec rake jobs:work
webpack: ./frontend/node_modules/webpack/bin/webpack.js --config frontend/tools/webpack.config.dev.js