Commit Graph

13 Commits

Author SHA1 Message Date
Rebecca Law
5c3683ae86 Fix order of imports on wsgi 2016-04-21 11:19:22 +01:00
Rebecca Law
009c117452 Upgrade requirements.
With the upgrade of pep8 to 1.7.0 module imports are required to be at the top of the file,
meaning I had to add a noqa line to some of the init files. Are those init files wrong or is pep8 too strict.
2016-04-21 09:30:33 +01:00
Rebecca Law
6c6dc51ea3 Revert changes to aws deployment location for master builds on preview environment 2016-04-18 14:13:38 +01:00
Rebecca Law
0b777b76a6 Update deployment files for aws 2016-04-15 16:31:31 +01:00
Martyn Inglis
d044576e08 Order of imports means the config doesn't get set up properly 2016-03-17 16:48:12 +00:00
Martyn Inglis
2473b09beb Start aligning Admin app with config styles used elsewhere
- no config overrides - now all set in environment
- use different files for staging and live too allow for differently named env variables
- updates to run_app and run_tests scripts to set correct environment (test/development) so correct config picked up
- use environment file on deployed environments to pick correct config
2016-03-17 13:45:59 +00:00
Martyn Inglis
eaf37ea29c Updated wsgi so that it can read the environment from the files present on AWS instances 2016-02-09 13:53:04 +00:00
Martyn Inglis
7efa513777 Ensured credstash is located only with the wsgi/gunicorn code. 2016-01-11 09:59:31 +00:00
Martyn Inglis
ba4dac051b Integrated credstash as a live properties setting in the app.py class
- initial versions kept it out of this class but updated as lots of duplication and errors as config
set up in multiple places and not all picking up credstash.
2016-01-11 09:32:49 +00:00
Martyn Inglis
60f6601845 Copy the db upgrade command into WSGI script.
In there currently as wsgi has the credstash which we don't won't to apply in non-awe environments. This will need a refactor to better handle code duplication.
2016-01-10 21:53:41 +00:00
Martyn Inglis
2c2d236e85 Incorporate credstash in production wsgi scripts. 2016-01-10 21:33:04 +00:00
Martyn Inglis
4bb25dfdb1 Pep8 appeased 2015-12-03 09:40:28 +00:00
Martyn Inglis
0977877dcd AWS codedeploy start / stop scripts (upstart) and wsgi start script 2015-12-03 09:38:02 +00:00