https://github.com/michael-lazar/lets-dance
💃 A Spring '83 Server
https://github.com/michael-lazar/lets-dance
Last synced: 2 months ago
JSON representation
💃 A Spring '83 Server
- Host: GitHub
- URL: https://github.com/michael-lazar/lets-dance
- Owner: michael-lazar
- License: other
- Created: 2022-06-15T04:03:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-14T15:43:00.000Z (over 2 years ago)
- Last Synced: 2025-03-26T20:51:21.365Z (3 months ago)
- Language: Python
- Homepage:
- Size: 85 KB
- Stars: 28
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Let's Dance 💃
*Let's Dance* is a humble [Spring '83](https://github.com/robinsloan/spring-83-spec) server written in django.
Now live at [https://spring83.mozz.us](https://spring83.mozz.us).
See my [notes](/Notes.md) on the protocol.
## Requirements
- python 3.10
- a strong constitution## Development
```bash
# Download the source
git clone https://github.com/michael-lazar/lets-dance
cd lets-dance/# Initialize a virtual environment and install pip dependencies, etc.
tools/boostrap# Create a user account for the admin dashboard
tools/manage createsuperuser# Launch a local server
tools/start 127.0.0.1:8000# Initialize pre-commit hooks
pre-commit install# Run the tests, linters, etc.
tools/pytest
tools/mypy# Tinker with the database
sqlite3 data/lets-dance.sqlite3# Rebuild requirements
tools/pip-compile
tools/pip-install# Generate a usable ed25519 key
tools/manage generate_keypair# Seed your database with fake boards
tools/manage seed_boards --count 100# Publish a board to any server
echo "Hello World!
" | tools/manage publish_board \
--content-file - \
--public-key \
--private-key \
--server-url http://127.0.0.1:8000# Check your local weather forecast
curl http://wttr.in
```## Deploying to Production
You're on your own!
## License
[The Human Software License](https://license.mozz.us)
> A hobbyist software license that promotes maintainer happiness
> through personal interactions. Non-human
> [legal entities](https://en.wikipedia.org/wiki/Legal_person) such as
> corporations and agencies aren't allowed to participate.