forked from dormbase/dormbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Dev Server Setup
btidor edited this page Sep 10, 2012
·
5 revisions
This guide assumes you are installing dormbase to your home directory (~/). You can easily replace this with the directory of your choice. Before beginning, install python, django and the dependencies listed in dependencies.txt
-
On github.com, fork dormbase into your personal account
-
Clone the repository onto your local computer:
cd ~/
git clone <github-url>
- Download submodules:
cd ~/dormbase
git submodule init
git submodule update
- Initialize the database:
cd ~/dormbase/dormbase
manage.py syncdb --migrate
- Initialize Photologue
manage.py plinit
Generate this size now: yes
**admin_thumbnail**
Width (in pixels): 100
Height (in pixels): 100
Crop to fit? yes
Pre-cache? no
Increment count? no
Enhancement effect? no
Additional templates? yes
**thumbnail**
Width (in pixels): 130
Height (in pixels): 175
Crop to fit? yes
Pre-cache? yes
Increment count? no
**display**
Width (in pixels): 0
Height (in pixels): 0
Crop to fit? no
Pre-cache? yes
Increment count? yes
Reflection effect? no
- Populate test data:
populate.py
- Run test server:
manage.py runserver