Note
This is Heliactyl Next version 15.0.0-dev.
Important
This is a very very early version of Next 15 and is only supported running in development mode at this time. Not much is really implemented, but things work.
server— APIclient— Frontend (Vite)
-
Install Bun:
https://bun.sh -
Copy and edit config:
cp server/config.yml.example server/config.yml- Install dependencies:
bun install- Run in development:
# Server (API)
bun run dev:server
# Client (UI)
bun run dev:clientKey sections:
app: name and version metadataserver: host, port, CORS, basePathsecurity: session TTL, password hashing (bcrypt),encryptionKeydatabase.url: database connection stringredis: session/cache store URL and namespaceoauth.discord: optional Discord OAuth settingspterodactyl: panel URL and API keyspackages,locations: product packaging and region definitions
Heliactyl has support for multiple databases and infers the adapter from the URL scheme:
- SQLite (recommended for local dev):
sqlite://./server/data/heliactyl.dbfile://./server/data/heliactyl.db:memory:(for tests I suppose)
- Postgres:
postgres://user:pass@host:5432/dbnamepostgresql://user:pass@host:5432/dbname
- MySQL:
mysql://user:pass@host:3306/dbnamemysql2://user:pass@host:3306/dbname
Change the database.url to switch protocols; you don't need to do anything after that. On startup, HeliaDB 15 will create tables based on server/schema.yml using our nice and smart migrations system.
Set redis.url to your Redis instance. For local dev, redis://127.0.0.1:6379 is probably what you'd use.
Set enabled: true, clientId, clientSecret, and redirectUri to enable Discord OAuth2.
Provide url, apiKey, and clientKey. Jobs reconcile servers and sync eggs at intervals. Heliactyl assumes that you are running Cryogenic, our Rust-based replacement for Wings.
Important
If you aren't running Cryogenic, please ensure that in your Wings config that you have allowed-origins set to *. For example: allowed-origins: ['*']. If you use Cryogenic, the daemon automatically configures origins for you.
Server tests:
cd server && bun run testThis project is licensed under the Foundry Open Source License. Public deployments must include visible attribution in the site footer.
Copyright (c) Foundry Technologies Inc. All rights reserved. A project by Matt James.
