Skip to content

rootart/bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookstore#

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 bookstore-env

For virtualenv

virtualenv --no-site-packages --disctribute bookstore-env
cd bookstore-env
source bin/activate

Clone the code

Obtain the url to your git repository.

git clone <URL_TO_GIT_RESPOSITORY> bookstore

Install requirements

cd bookstore
pip install -r requirements.txt

Configure project

cp bookstore/__local_settings.py bookstore/local_settings.py
vi bookstore/local_settings.py

Sync database

python manage.py syncdb

Apply database migrations

python manage.py migrate

Running

python manage.py runserver

or

make run

Open browser to http://127.0.0.1:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published