Skip to content
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

  1. On github.com, fork dormbase into your personal account

  2. Clone the repository onto your local computer:

cd ~/
git clone <github-url>
  1. Download submodules:
cd ~/dormbase
git submodule init
git submodule update
  1. Initialize the database:
cd ~/dormbase/dormbase
manage.py syncdb --migrate
  1. 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
  1. Populate test data:
populate.py
  1. Run test server:
manage.py runserver

Clone this wiki locally