Skip to content

A quick project for demoe-ing and testing the django-photologue application.

Notifications You must be signed in to change notification settings

crainbf/photologue_demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photologue_Demo Django Project

About

This project serves 2 purposes:

  • It's a quick demo of django-photologue for people who wish to try it out.
  • The 'website' branch is used for the django-photologue demo site (coming soon!).

Prerequisites

  • python 2.7
  • virtualenvwrapper

Installation

Note: the project is configured so that it can run immediately in dev with zero configuration (especially of settings files).

Create a virtual python environment for the project. The use of virtualenvwrapper is strongly recommended:

mkproject --no-site-packages photologue_demo
or for more sophisticated setups:
mkvirtualenv --no-site-packages photologue_demo

Clone this code into your project folder:

(cd to the folder where the project will live)
git clone https://github.com/richardbarran/photologue_demo .

Install requirements:

cd photologue_demo
pip install -r requirements/dev.txt

The project is set up to run SQLite in dev so that it can be quickly started with no configuration required (you can of course specify another database in the settings file). To setup the database:

./manage.py syncdb
./manage.py migrate

Note: You may want to get a copy of the production database instead of creating a blank local copy. YMMV.

And finally run the project (it defaults to a safe set of settings for a dev environment):

./manage.py runserver

Open browser to http://127.0.0.1:8000

Configuration

Head over to the Sphinx docs for this project:

cd docs
make html

And then use your browser to open the docs under photologue_demo/docs/_build/html/index.html for more information on configuring and using this project.

About

A quick project for demoe-ing and testing the django-photologue application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%