Skip to content

kingsdigitallab/mpol-django

Repository files navigation

mpol-django

This is the repository for the mpol project at King's Digital Lab

This project is configured to use Vagrant for local development and Fabric for deployment.

Getting started

  1. Enter the project directory: cd mpol-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