Skip to content
/ nanadev Public

🏠🍽️ Dev container for nanapi and nanachan

License

Notifications You must be signed in to change notification settings

Japan7/nanadev

Repository files navigation

nanadev 🏠🍽️

Getting Started

Open in GitHub Codespaces

  1. Open this project in GitHub Codespaces (badge above) or in VS Code Dev Container
  2. Wait for everything to be setup
  3. When prompted, open the workspace (workspace.code-workspace)
  4. Setup the local settings for each project, following their respective README.md and the next section

Local Settings

nanapi

## 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)

nanachan

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'

About

🏠🍽️ Dev container for nanapi and nanachan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published