Skip to content

kingsdigitallab/mao-django

Repository files navigation

mao-django

This is the repository for the mao project at Kings Digital Lab

This project uses the technologies outlined in our Technology Stack and is configured to use Vagrant for local development and Fabric for deployment.

Getting started

  1. Enter the project directory: cd mao-django
  2. Start the virtual machine: vagrant up
  3. SSH into the virtual machine: vagrant ssh
  4. Run the local development server: ./manage.py runserver 0:8000

You can then access the site locally at http://localhost:8000

If the project is ldap-enabled, you can login using your LDAP credentials. Note: LDAP authentication will only work within the college firewall. Alternatively, use the default superuser login:

username: vagrant password: vagrant

Note: This login will only work on a locally deployed virtual machine.

Requirements

  • Ansible >= 2.3
  • NodeJS
  • Vagrant >= 1.9
  • VirtualBox >= 5.0