- Open this project in GitHub Codespaces (badge above) or in VS Code Dev Container (4-core machine is recommended)
- Wait for everything to be setup
- When prompted, open the workspace (
nanadev.code-workspace) - Setup the local settings for each project, following their respective
README.mdand the next section
## Meilisearch
MEILISEARCH_HOST_URL = 'http://meilisearch:7700'For references:
- Gel DSN:
gel://admin:password@gel/main - Gel Web UI: forwarded to http://localhost:5656/ui (credentials:
admin/password)
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 = 'valkey'