Repository navigation
How do I run the server locally, with the demo class and without a bot or keys? #589
Answered
by
lumenpearson
lumenpearson
asked this question in
Q&A
|
I want a local API to develop the app or an API client against. I don't have a Telegram bot token or any of the service keys yet. |
Answered by
lumenpearson
Oct 17, 2026
Replies: 1 comment
|
Applies to: any version — this is how the project works by design. SQLite is the default database. 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 four steps and what each one needs: docs/build.md, «From a clone to a working pair». |
0 replies
Answer selected by
lumenpearson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Applies to: any version — this is how the project works by design.
SQLite is the default database.
RUN_BOT=falseturns the bot off. The API needs no keys.seed_democreates a class with the join codeDEMO24and prints a device token already linked to a demo editor.SEED_DEMO_I_MEAN_IT=yessays you mean it, the script …