Skip to content

amccloud/django-project-skel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{{ project_name|title }} Django Project

Prerequisites

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

Installation

Creating the environment

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

For virtualenvwrapper

mkvirtualenv --no-site-packages {{ project_name }}-env

For virtualenv

virtualenv --no-site-packages {{ project_name }}-env
cd {{ project_name }}-env
source bin/activate

Clone the code

Obtain the url to your git repository.

git clone <URL_TO_GIT_RESPOSITORY> {{ project_name }}

Install requirements

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

Configure project

cp {{ project_name }}/__local_settings.py {{ project_name }}/local_settings.py
vi {{ project_name }}/local_settings.py

Sync database

python manage.py syncdb

Running

python manage.py runserver

Open browser to http://127.0.0.1:8000

About

To use run: django-admin.py startproject --template https://github.com/amccloud/django-project-skel/zipball/master --extension py,md,gitignore yourprojectname

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages