Skip to main content

VTES tournament management

Project description

archon

Tournament management

Development install

This project uses npm, that you can install with nvm. It also uses Python on the backend side, so install Python version >= 3.11.

Finally, you'll need GNU Make for simple targets and processes defined in a Makefile. Four options if you are on Windows:

nvm install node
nvm use node
python -m virtualenv .venv
source .venv/bin/activate
make update

We are using a couple of very standard tools and frameworks, that make update will install and update for you:

Make targets

  • make geodata downlad and refresh the geographical data in geodata
  • make test runs the tests, formatting and linting checks
  • make serve runs a dev server with watchers for auto-reload when changes are made to the source files
  • make clean cleans the repository from all transient build files
  • make build builds the python package
  • make release creates and pushes a git tag for this version and publishes the package on PYPI

CLI

The archon CLI gives access to useful DB-related commands when developing in local.

> archon --help

 Usage: archon [OPTIONS] COMMAND [ARGS]...
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.                                         │
│ --show-completion             Show completion for the current shell, to copy it or customize the installation.  │
│ --help                        Show this message and exit.                                                       │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ list                                                                                                            │
│ reset-db                                                                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Development database

You need a running PostgreSQL server, with an archon superuser, an archondb database owned by that superuser, with no password. You can use the DB_USER and DB_PWD environment variables to use other values. The database name is not configurable.

Development server

Simply use make serve to run the front and back services. They constantly watch your files and rebuild the project automatically when there is any change. Use pm2 logs to keep an eye on what's going on and pm2 kill to stop the services. You can also use pm2 ps to check if the services are up and running. For more, see the PM2 documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vtes_archon-0.3.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

vtes_archon-0.3-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file vtes_archon-0.3.tar.gz.

File metadata

  • Download URL: vtes_archon-0.3.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for vtes_archon-0.3.tar.gz
Algorithm Hash digest
SHA256 91650757adc6278ad203aa2a80c22da35d24e5219d15c8b0186a81113ff286db
MD5 b7e861f3a6bb94a2e6da731fbaf041a7
BLAKE2b-256 928a115c1137cb5f2f2268069e4de73d6a11f955ef2bdfc4b262676f7ded00df

See more details on using hashes here.

File details

Details for the file vtes_archon-0.3-py3-none-any.whl.

File metadata

  • Download URL: vtes_archon-0.3-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for vtes_archon-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7a1402b81deb418a10da20af04d587abedf66a8e327b7b51ae1aecff9832edc0
MD5 3bc2bd330182ff5f3806b65741be36a9
BLAKE2b-256 f5cc2fdb3614f32fdf0b1477261d0393c522177495f4f3723a0b73b6eafab171

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page