cardinalitypuzzles / puzzlorde

Django app for editing and testing puzzlehunt puzzles (open-source version)
1 stars 0 forks source link

Puzzlord

A Django app for editing/testing puzzles for a puzzlehunt. Puzzletron reincarnate.

Primarily maintained by @betaveros. Lots of infrastructure by @mitchgu. Many contributions from @jakob223, @dvorak42, and @fortenforge.

Contains a lightly modified copy of sorttable.js, licensed under the X11 license.

Contributing

When putting up PRs, please label them appropriately so that release notes can be automatically drafted:

Publishing

To release, go to the 'Releases' page, edit the current draft, and publish it. This will instruct the droplet to pull the latest changes from master. If there are any actions that need to be taken (server restart, new settings) please flag in #sha-tech.

First Time Setup with Virtualenv

If all went well, the dev server should start, the local IP and port should be printed to stdout, and it should helpfully tell you you're running Django 2.2.4.

Later, when you're done working on the project and want to leave the virtualenv, run deactivate.

If you ever need to install more pip packages for this project, make sure you've activated the virtualenv first. Then add the dependency to requirements.txt.

Troubleshooting

How to use manage.py

Where are things?

The root of this repository is the Django project Site-wide configuration lives inside the gph directory.

The Django project (currently) has only one app, called "puzzle_editing". Most business logic and UI lives inside the puzzle_editing directory.

Static files

Static files (CSS etc.) live in puzzle_editing/static.

Design

Some goals and consequences of Puzzlord's design:

Some features are still missing.