djangounderthehood / duh-web

https://www.djangounderthehood.com
4 stars 4 forks source link

Django: Onder de Motorkap

This is the project for the https://www.djangounderthehood.com website.

Development setup

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

Deploying

Code is automatically deployed from master branch of this repository.

Deploying the old website

Say you need to deploy a new commit to the old website 2014.djangounderthehood.com.

Assuming:

Here's what you do: