Skip to content

Commit 5c06afe

Browse files
committed
Added Procfile and dotenv
1 parent 05c6eed commit 5c06afe

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@
2424

2525
.tags
2626
.tags1
27+
28+
.env

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ git_source(:github) do |repo_name|
77
"https://github.com/#{repo_name}.git"
88
end
99

10+
# Environment variables
11+
gem 'dotenv-rails', require: 'dotenv/rails-now', groups: [:development, :test]
12+
1013
# Rails
1114
gem 'rails', '~> 5.1.2'
1215

Gemfile.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ GEM
7878
concurrent-ruby (1.0.5)
7979
debug_inspector (0.0.3)
8080
diff-lcs (1.3)
81+
dotenv (2.2.1)
82+
dotenv-rails (2.2.1)
83+
dotenv (= 2.2.1)
84+
railties (>= 3.2, < 5.2)
8185
erubi (1.6.1)
8286
execjs (2.7.0)
8387
factory_girl (4.8.0)
@@ -253,6 +257,7 @@ DEPENDENCIES
253257
bullet
254258
byebug
255259
capybara
260+
dotenv-rails
256261
factory_girl_rails
257262
heroku-deflater
258263
jbuilder (~> 2.5)
@@ -278,5 +283,8 @@ DEPENDENCIES
278283
uglifier (>= 1.3.0)
279284
web-console (>= 3.3.0)
280285

286+
RUBY VERSION
287+
ruby 2.4.1p111
288+
281289
BUNDLED WITH
282290
1.15.4

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}

0 commit comments

Comments
 (0)