Skip to content

Commit

Permalink
for ease of startup for new development switch back to a ready to go …
Browse files Browse the repository at this point in the history
….env file.
  • Loading branch information
rwblair committed Jun 6, 2017
1 parent 084f9b7 commit cb450a0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ machine:

test:
pre:
- mv dockereve-master/env_example dockereve-master/.env
- mkdir dockereve-master/nginx/.ssl
- touch dockereve-master/nginx/.ssl/mriqcep.crt
- touch dockereve-master/nginx/.ssl/mriqcep.key
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions dockereve-master/eve-app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# vi: set ft=python sts=4 ts=4 sw=4 et:

import os
import socket

from eve import Eve
from eve.auth import TokenAuth
Expand All @@ -26,7 +27,5 @@ def check_auth(self, token, allowed_roles, resource, method):
'description': 'MRI Quality Control Metrics Repository',
}

app.config['SWAGGER_HOST'] = 'mriqc.nimh.nih.gov'

if __name__ == '__main__':
app.run(host='0.0.0.0')
3 changes: 1 addition & 2 deletions dockereve-master/eve-app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,7 @@
'PUBLIC_ITEM_METHODS': ['GET'],
'RESOURCE_METHODS': ['GET', 'POST'],
'ITEM_METHODS': ['GET'],
'X_DOMAINS': ['http://localhost:8080', 'https://mriqc.nimh.nih.gov', 'http://mriqc.nimh.nih.gov', '*'],
'X_HEADERS': ['Content-Type', 'If-Match'],
'X_DOMAINS': '*',
'DOMAIN': {
'bold': {
'item_title': 'bold',
Expand Down

0 comments on commit cb450a0

Please sign in to comment.