Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

djangounderthehood/duh-web

Repository files navigation

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, it will make your life easier. With virtualenv activated, install packages as normal with pip install -r requirements.txt.

This project uses less for styles and so you'll need Node 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:

  • You have push access to the app on Heroku
  • Your heroku git remote for the app is called heroku-2014

Here's what you do:

  • Do your commit in the branch oldsites/2014
  • git push heroku-2014 oldsites/2014:master
  • ???
  • Profit.