fix app.json ENV vars (#10)

* convert integer to string.

* cache npm modules in CircleCI.

* fix app.json.
This commit is contained in:
Justin Licata 2017-07-21 17:14:54 -05:00 committed by GitHub
parent 4991ef7314
commit 7f40632103
2 changed files with 22 additions and 2 deletions

View File

@ -28,6 +28,9 @@ jobs:
- gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
- gem-cache-{{ .Branch }}
- gem-cache
- npm-deps-{{ .Branch }}-{{ checksum "package.json" }}
- npm-deps-{{ checksum "package.json" }}
- npm-deps
- run:
name: install dependencies
@ -39,15 +42,32 @@ jobs:
key: gem-cache-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- save_cache:
key: gem-cache-{{ .Branch }}
paths:
- vendor/bundle
- save_cache:
key: gem-cache
paths:
- vendor/bundle
- save_cache:
key: npm-deps-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- .node_modules
- save_cache:
key: npm-deps-{{ checksum "package.json" }}
paths:
- .node_modules
- save_cache:
key: npm-deps
paths:
- .node_modules
# Database setup
- run: bundle exec rails db:create
- run: bundle exec rails db:schema:load

View File

@ -12,10 +12,10 @@
"value": "3000"
},
"RAILS_MAX_THREADS": {
"value": 5
"value": "5"
},
"WEB_CONCURRENCY": {
"value": 2
"value": "2"
}
}
}