This is the codebase for the website, Snipt.net.
Running the Django app locally with Vagrant
- Clone the repo.
cp settings_local.py-template settings_local.py
- Edit local settings (choose a database password - you'll be prompted for it).
make vagrant
- Visit http://local.snipt.net:8080/.
Deploying to a VM
- Clone the repo.
cp settings_local.py-template settings_local_server.py
- Edit local server settings (choose a database password - you'll be prompted for it).
- Manually change the VM IP address in the Makefile.
make server
from https://github.com/nicksergeant/snipt/