Skip to content
Discussion options

You must be logged in to vote

Applies to: any version — this is how the project works by design.

SQLite is the default database. RUN_BOT=false turns the bot off. The API needs no keys.

cd server
python3 -m venv .venv && .venv/bin/pip install -r ../requirements.txt -e ".[dev]"
cp .env.example .env                     # then set RUN_BOT=false in .env
.venv/bin/python -m scripts.seed_demo    # demo class, join code DEMO24
.venv/bin/python -m uvicorn app.main:app --reload
  • The demo class. seed_demo creates a class with the join code DEMO24 and prints a device token already linked to a demo editor.
    • A second run replaces the class; it does not add a second class.
    • Unless SEED_DEMO_I_MEAN_IT=yes says you mean it, the script …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:server for:contributor Whoever changes the code or the documents: setup, checks, where a change goes
1 participant