Inspired by arkt.is/t/
Current build: dwitter.net
make setup
(set up virtual environment)source venv/bin/activate
(activate virtual environment)make
(install dependencies and set up database)make run
runs the server. Writingpython manage.py 0.0.0.0:8000
will expose the app if you're working inside a VM with port forwarding.- go to http://localhost:8000/admin/sites/, click on the one entry, and change both
domain_name
andsite_name
to localhost:8000. - Make sure dweet.localhost:8000/ returns a django error. May not work in Firefox.
make migrations
make migrate
make lint
make shell
make backup
make restore-backup