- Open this project in GitHub Codespaces (badge above) or in VS Code Dev Container
- Wait for everything to be setup
- When prompted, open the workspace (
workspace.code-workspace
) - Setup the local settings for each project, following their respective
README.md
and the next section
## Meilisearch
MEILISEARCH_HOST_URL = 'http://meilisearch:7700'
For references:
- EdgeDB DSN:
edgedb://edgedb:edgedb@edgedb:5656/main
- EdgeDB Web UI: forwarded to http://localhost:5656/ui (credentials:
edgedb/edgedb
)
Run nanapi and create a client for nanachan:
curl -X POST http://username:[email protected]:8000/clients/ --json '{"username": "botname", "password": "verysecure"}'
Then,
## nanapi
NANAPI_URL = 'http://127.0.0.1:8000'
NANAPI_PUBLIC_URL = NANAPI_URL # or the port forward url on codespace
NANAPI_CLIENT_USERNAME = 'botname'
NANAPI_CLIENT_PASSWORD = 'verysecure'
## Redis
REDIS_HOST = 'redis'