8000 GitHub - JermellB/dwitter: Social network for short js demos
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JermellB/dwitter

 
 

Repository files navigation

dwitter

A platform to write visual art in javascript limited to 140 characters.

Available on dwitter.net

Join the chat at https://gitter.im/lionleaf/dwitter

license

Inspired by arkt.is/t/

Pre-requisites and first-time installation

  • Install npm
  • sudo apt install git virtualenv python-pip
  • git clone https://github.com/lionleaf/dwitter.git

Setup

  • 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. Writing python 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/, login with admin account created above, click on the one entry, and change both domain name and display name to localhost:8000.
  • Make sure http://dweet.localhost:8000/ returns a django error. May not work in Firefox.

Other commands

  • 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

About

Social network for short js demos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.1%
  • HTML 24.4%
  • JavaScript 13.4%
  • CSS 12.0%
  • Makefile 1.1%
0