Skip to content

schrfr/ny-web.be

Repository files navigation

Ny Django Project

Prerequisites

  • python >= 2.5
  • pip
  • virtualenv

Installation

Creating the environment

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

virtualenv --no-site-packages ny-env
cd ny-env
source bin/activate

Clone the code

git clone <URL_TO_GIT_REPOSITORY> ny

Install the requirements

cd ny
pip install -r requirements/common.txt

Depending on the your profile (development or production), install the extra requirements.

In a development environment, run:

cd ny
pip install -r requirements/dev.txt

In a production environment, run:

cd ny
pip install -r requirements/prod.txt

Configure the project

cp ny/local_settings.example.py ny/local_settings.py
vi ny/local_settings.py

Synchronize the database

python manage.py syncdb

Run the project

python manage.py runserver

Open you browser at http://localhost:8000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published