guides-cms
guides-cms copied to clipboard
Further automate deployment
Currently the requirements, etc. are setup for easy automation. However, we need to just hook into this so it's easy to deploy the site with all the correct defaults. This is easy on Heroku once you have the correct environment variables setup. We should automate the setting of the environment variables on heroku or whatever platform we deploy to. The idea is to do something like a 'make install' that can automate:
- Installing requirements
- Setting environment variables for hosting provider
- Install the web app itself
- Start it up
As far as installing and starting the webapp, is the team opposed to Docker? I should be able to configure a Docker build pretty easily.
I'm definitely not opposed to docker. I've read a lot about it just haven't had a chance to use it yet in person. We're using heroku for hosting right now so don't know if that matters at all.
you can use docker on heroku. do you have documentation on required env vars?
also by using Docker it becomes really simple to migrate off of Heroku when you outgrow it.
I'll work on a PR for this after work.
Thanks! All the config variables are documented in the example_config.py file at the top level of repo. Let me know if you find anything missing!
On February 22, 2016 at 8:07:50 PM, scott miller ([email protected]) wrote:
I'll work on a PR for this after work.
— Reply to this email directly or view it on GitHub https://github.com/pluralsight/guides-cms/issues/8#issuecomment-187323210 .