A platform to write visual art in javascript limited to 140 characters.
Available on dwitter.net
Inspired by arkt.is/t/
- Install
npm
sudo apt install git virtualenv python-pip
git clone https://github.com/lionleaf/dwitter.git
make setup
(set up virtual environment)source venv/bin/activate
(activate virtual environment)make
(install dependencies and set up database)python manage.py createsuperuser
(create admin account used below)make run
runs the server. Usemake serve
instead if you're working inside a VM with port forwarding. (0.0.0.0:8000)- go to http://localhost:8000/admin/sites/, login with admin account created above, click on the one entry, and change both
domain name
anddisplay name
to localhost:8000. - Make sure http://dweet.localhost:8000/ returns a django error. May not work in Firefox.
make migrations
make migrate
make lint
- lints Python and JS files
- automatically fixes some JS issues (mostly whitespace-related)
make shell
make backup
make restore-backup