regluit/README.md

1.1 KiB

regluit

A 'monolithic' alternative to unglu for the unglue.it website. regluit essentially on Django project that contains three applications: frontend, api and core that can be deployed and configured to as many instances that are needed to support traffic. The key difference with unglue is that the frontend app is able to access database models from core in the same way that the api is able to...which hopefully should simplify some things.

Develop

Here are some instructions for setting up regluit for development on an Ubuntu system:

  1. aptitude install python-setuptools
  2. sudo easy_install virtualenv virtualenvwrapper
  3. git clone git@github.com:Gluejar/regluit.git
  4. cd reglueit
  5. mkvirtualenv --no-site-packages regluit
  6. pip install -r requirements.pip
  7. add2virtualenv ..
  8. echo 'export DJANGO_SETTINGS_MODULE=regluit.settings.dev' >> ~/.virtualenvs/regluit/bin/postactivate
  9. deactivate ; workon regluit
  10. django-admin.py syncdb --migrate
  11. django-admin testserver
  12. point your browser at http://localhost:8000/