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.
- Enter the project directory:
cd mpol-django
- Start the virtual machine:
vagrant up
- SSH into the virtual machine:
vagrant ssh
- 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.
- Ansible >= 2.3
- NodeJS
- Vagrant >= 1.9
- VirtualBox >= 5.0