- Python 2.7
- Django 1.4
- PIL
virtualenv should be used to manage dependencies
to install it: sudo pip install virtualenv
Create a virtual environment:
in your checked out directory, run
virtualenv --no-site-packages sis_env
Install all the dependencies:
source sis_env/bin/activate
pip install -r requirements.txt
if you need to add a dependency, install it with pip then run
pip freeze > requirements.txt
and commit the requirements file
- Check out the source with
git clone [email protected]:antonkhelou/SIS.git smart_img_serve
cd
into the smart_img_serve directorysource sis_env/bin/activate
to setup the virtualenvpython manage.py runserver
. Access the site at http://localhost:8000
manage.py
- comes with Django. Not modified.readme.md
sis/
settings.py
- the project-wide settings. should not need to be changed.templates/
- all the template files will go under here. there will be a directory for each app.views/
- includes all views which are mapped with the urls patterns specifies inurls.py
.urls.py
- includes all the urls.py files for each app