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

Latest commit

 

History

History
48 lines (32 loc) · 1.02 KB

File metadata and controls

48 lines (32 loc) · 1.02 KB

django-calaccess-project-template

A custom template for initializing a new Django project with our CAL-ACCESS applications.

Uses the built-in Django startproject templating system.

Still experimental, so don't get your hopes up.

Getting started

Create a virtual enviroment to work inside.

$ virtualenv my-environment

Jump in and turn it on.

$ cd my-environment
$ . bin/activate

Install Django.

$ pip install django

Create a new Git repository.

$ git init repo

Download and install a project in there using this template.

$ django-admin.py startproject --extension=py,.gitignore --template=https://github.com/california-civic-data-coalition/django-calaccess-project-template/archive/master.zip project repo

Now that the template has landed, jump in and install the project's Python dependencies.

$ cd repo
$ pip install -r requirements.txt