Commit Graph

19 Commits

Author SHA1 Message Date
Imdad Ahad
d06a72224e Don't create wheels for dependencies but store offline:
Previously we used AWS which meant that we could create wheels
from our requirements and then install them offline which made
deployments quicker.

We're no longer using AWS so let's remove that.

Although CloudFoundry supports installing dependencies in an offline
environment as documented here:
http://docs.cloudfoundry.org/buildpacks/python/#vendoring

To achieve this we create a vendor/ directory which will contain
the packages to install. This uses --no-index and --find-links so will
not resolve for any dependencies from pypi. For this reason there is
assumed confidence that the vendor/ directory will contain all
of the dependencies we need.
2017-07-20 14:17:10 +01:00
Imdad Ahad
75854d91fc Use python wheels to speed up deployments 2016-11-07 17:56:08 +00:00
Martyn Inglis
fe84674a77 Updated start scripts to not look up envrionemnt 2016-07-29 10:20:27 +01:00
Chris Hill-Scott
37fff2da63 Revert "Install lxml first on ubuntu"
This reverts commit 844f9c4276.
2016-05-16 17:22:26 +01:00
Rebecca Law
844f9c4276 Install lxml first on ubuntu 2016-05-16 16:43:55 +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
35b711f956 No db updates on admin app 2016-01-19 21:54:31 +00:00
Martyn Inglis
ca36b56d4c Run start/stop as ubuntu 2016-01-19 21:26:45 +00:00
Martyn Inglis
e075145945 Putting this back in the dependencies file for now
- this fails on the instance and not sure why, putting back till I can figure it out
2016-01-11 17:32:24 +00:00
Martyn Inglis
35b4f8f3a7 Removed the db upgrades 2016-01-11 17:23:10 +00:00
Martyn Inglis
63c87f10e7 Needed own file for db scripts. Need to compartmentalise running the app and the db upgrades into differing scripts. 2016-01-10 22:16:26 +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
cd1af56548 Fix python3/2 issues 2016-01-07 16:13:25 +00:00
Martyn Inglis
5cf3259dbf Fix python3/2 issues 2016-01-07 16:12:34 +00:00
Martyn Inglis
cbd47fe2ce Export flask config in set up script 2015-12-17 11:18:27 +00:00
Martyn Inglis
5492116d19 Path wrong on start script 2015-12-17 11:08:37 +00:00
Martyn Inglis
2308867132 Install SASS gem 2015-12-16 11:02:54 +00:00
Martyn Inglis
ce34303a3d Renamed install dependencies
- also sets FLASK_CONFIG property so as to override properties to enable DB upgrade
2015-12-07 13:41:10 +00:00