bhalle / limestone

limestone

This URL has Read+Write access

bhalle (author)
Tue Nov 10 15:40:50 -0800 2009
commit  9fb8ab466ce2604fcbb62ff04d73af2c71f3d2e3
tree    2073074a07293594cd10a55c5047ea8345d68c9d
parent  4da200eb31d4dc3b66de8d6ec607311fabce4931
name age message
file .gitignore Loading commit data...
file README
file bootstrap.py
file buildout.cfg
directory limestone/
README
getting started ...

will need virtualev

  easy_install virtualenv

now setup our sandbox 
... where ever you want it located
... whatever you want it called, here i named it djangodev
... no-site-packages config is up to your setup
... step into new development environment
  
  virtualenv --no-site-packages djangodev
  cd djangodev

once cloned, setup new env, clone git repo into you virtualenv as limestone (app sandbox directory)
... step into your_new_app dir
... and bootstrap structure, this will install needed files and directories

  git clone git://github.com/bhalle/limestone.git
  cd limestone
  python bootstrap.py

then once django app struct is created 
... run buildout to download all dependencies (see buildout.cfg for details)

  bin/buildout

since the migrations (south) are included in code just make sure db config is correct
... syncdb for default admin
... populate database tables

  bin/django syncdb
  bin/django migrate

photologue is used for image processing
... configure the default settings (don't worry you can change them in the admin if you mess up)

  bin/django plinit

that should be it, 
... runserver and test it

  bin/django runserver

notes: 
- if your having problems with mysql ... make sure you have it in your path
- if your having problems with image processing ... make sure you have PIL installed and configured (make & install jpeg 
... http://www.ijg.org/ , download & "python setup.py install" PIL http://effbot.org/downloads/Imaging-1.1.6.tar.gz) ... 
should see something like this
--------------------------------------------------------------------
PIL 1.1.6 BUILD SUMMARY
--------------------------------------------------------------------
version       1.1.6
platform      darwin 2.5.1 (r251:54863, Feb  6 2009, 19:02:12)
              [GCC 4.0.1 (Apple Inc. build 5465)]
--------------------------------------------------------------------
--- TKINTER support ok
*** JPEG support not available
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not available
--------------------------------------------------------------------