Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 996 Bytes

README.md

File metadata and controls

54 lines (43 loc) · 996 Bytes

Flashcards 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 flashcards-env

For virtualenv

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

Clone the code

Obtain the url to your git repository.

git clone <URL_TO_GIT_RESPOSITORY> flashcards

Install requirements

cd flashcards
pip install -r requirements.txt

Configure project

cp flashcards/__local_settings.py flashcards/local_settings.py
vi flashcards/local_settings.py

Sync database

python manage.py syncdb

Running

python manage.py runserver

Open browser to http://127.0.0.1:8000