Skip to content
Kyle Purdon edited this page May 28, 2014 · 16 revisions

The Django project is the brains of the OPS server. It's what controls all of the functionality (not including map generation) on the OPS server.

Django Paths

/vagrant/conf/django/* is the GitHub repo checkout location on the OPS server.

/var/django/* is the root path to the django project on the OPS server.

To copy a new version of the Django project from the repo to the server enter the following:

cd /vagrant
git pull
sh conf/tools/updateDjangoProject.sh

Django Directory Structure

django/
   ops/
      rds/
         fixtures/
            initial_data.json
         __init__.py
         models.py
      accum/
         fixtures/
            initial_data.json
         __init__.py
         models.py
      snow/
         fixtures/
            initial_data.json
         __init__.py
         models.py
      kuband/
         fixtures/
            initial_data.json
         __init__.py
         models.py
      opsuser/
         __init__.py
         models.py
      ops/
         __init__.py
         authip.py
         monitor.py
         settings.py
         urls.py
         utility.py
         views.py
         wsgi.py
      manage.py