Skip to content

charlierguo/cardinalwebdev

Repository files navigation

Cardinal Web Dev

Auto-generated from Kevin Xu's Django Project Builder

Team

Getting Started

Dependencies

For best results, make sure you have at least:

  • Python 2.7.2
  • Django 1.4.1

Customizations

Installing the Application

# after initial git clone of existing repo
cd cardinalwebdev/
mkvirtualenv cardinalwebdev                                       # requires proper virtualenv setup
workon cardinalwebdev                                             # sets the virtual environment

pip install -r requirements.txt                                   # installs all python packages
python manage.py syncdb                                           # sets up django database
python manage.py migrate cardinalwebdev_app                       # migrates any south migrations

Troubleshooting

Workflow

In case something's not working after pulling, try one of these:

workon cardinalwebdev                                             # make sure you're in the right virtual environment
pip install -r requirements.txt                                   # make sure python packages are up to date
python manage.py migrate cardinalwebdev_app                       # make sure database schema is migrated

Missing Dependencies

If you are missing some dependencies like pip, django, virtualenv, orvirtualenvwrapper then try downloading and running this script or use this line of code:

curl -O https://raw.github.com/imkevinxu/django-projectbuilder/master/install_dependencies.sh && source install_dependencies.sh && rm -f install_dependencies.sh

Script has been tested with Mac OSX 10.7 (Lion) and 10.8 (Mountain Lion) so far.

About

Stanford Web Development Class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published