Skip to content

Scopart/django-HTML5Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{{ project_name|title }} Django Project

Prerequisites

  • python >= 2.7
  • pip
  • virtualenv/wrapper (optional)

Installation

Creating the environment

Create a virtual python environment for the project. If you're not using virtualenv you may skip this step.

Virtualenv

virtualenv --no-site-packages venv
source venv/bin/activate

or if using global packages (eg: mysql driver)

virtualenv --system-site-packages venv

Install requirements

cd {{ project_name }}
pip install -r requirements.txt

Configure project

For development environement

vim {{ project_name }}/settings_dev.py

For production environement

vim {{ project_name }}/settings.py

Sync database

python manage.py syncdb

Load initial data

python manage.py loaddata auth

Running

python manage.py runserver

Open browser to http://127.0.0.1:8000

About

A project template for django with HTML5 Boilerplate and SASS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published