Commit ebd499a9030a24575124a78d1addbd6b2c884c1a

Authored by Diego Camarinha
2 parents 48cb8c1a 48920833

Merge pull request #294 from mezuro/foreman

Foreman
Showing 4 changed files with 8 additions and 0 deletions   Show diff stats
.env 0 → 100644
... ... @@ -0,0 +1 @@
  1 +RAILS_ENV=production
0 2 \ No newline at end of file
... ...
Gemfile
... ... @@ -126,6 +126,9 @@ group :development, :test do
126 126  
127 127 # Automatized gem update
128 128 gem 'gisdatigo'
  129 +
  130 + # Startup script generation (server process manager)
  131 + gem 'foreman', '~>0.78.0'
129 132 end
130 133  
131 134 # Acceptance tests
... ...
Gemfile.lock
... ... @@ -123,6 +123,8 @@ GEM
123 123 multipart-post (>= 1.2, < 3)
124 124 faraday_middleware (0.10.0)
125 125 faraday (>= 0.7.4, < 0.10)
  126 + foreman (0.78.0)
  127 + thor (~> 0.19.1)
126 128 gherkin (2.12.2)
127 129 multi_json (~> 1.3)
128 130 gisdatigo (0.0.1)
... ... @@ -345,6 +347,7 @@ DEPENDENCIES
345 347 devise (~> 3.5.1)
346 348 exception_notification (~> 4.1.1)
347 349 factory_girl_rails (~> 4.5.0)
  350 + foreman (~> 0.78.0)
348 351 gisdatigo
349 352 google-analytics-rails (~> 0.0.6)
350 353 http_accept_language
... ...
Procfile 0 → 100644
... ... @@ -0,0 +1 @@
  1 +web: bundle exec rails s -p $PORT -e $RAILS_ENV
0 2 \ No newline at end of file
... ...