This is the project for the https://www.djangounderthehood.com website.
This project uses Python 3.5. Be sure to work within
virtual environment <https://virtualenv.pypa.io/en/latest/>
_,
it will make your life easier. With virtualenv activated, install packages
as normal with pip install -r requirements.txt
.
This project uses less <http://lesscss.org/>
for styles and so you'll
need Node <https://nodejs.org/en/>
installed on your development machine.
After making sure you have node, install required npm packages
with make build-npm
.
There's a shortcut available that installs Python and Node dependencies::
make build
Code is automatically deployed from master
branch of this repository.
Say you need to deploy a new commit to the old website 2014.djangounderthehood.com.
Assuming:
heroku-2014
Here's what you do:
oldsites/2014
git push heroku-2014 oldsites/2014:master