Add app runner for backend and discord stack
This commit is contained in:
11
README.md
11
README.md
@@ -1,5 +1,16 @@
|
||||
v2 architecture draft: see `docs/architecture-v2.org`
|
||||
|
||||
default v2 app run:
|
||||
```
|
||||
python3 ./youdis.py
|
||||
```
|
||||
|
||||
direct component runs still work for testing:
|
||||
```
|
||||
python3 -m uvicorn youdis.main:app --host 127.0.0.1 --port 8000
|
||||
python3 -m youdis.adapters.discord
|
||||
```
|
||||
|
||||
build and run the docker container
|
||||
```
|
||||
DISCORD_BOT_TOKEN = [discord bot token]
|
||||
|
||||
Reference in New Issue
Block a user