No description
- Rust 51.3%
- JavaScript 48.5%
- HTML 0.1%
- PLpgSQL 0.1%
|
Some checks failed
CI / run-migrations (push) Has been skipped
CI / cargo-test (push) Failing after 2m51s
CI / format-code (push) Successful in 13s
CI / cargo-full-check (push) Has been skipped
CI / lint-code (push) Failing after 1m37s
CI / build-logging (push) Successful in 1m45s
CI / build-manager (push) Successful in 3m9s
CI / build (push) Successful in 8m17s
CI / docker-build-logging (push) Failing after 1m19s
CI / docker-build (admin) (push) Failing after 6s
CI / docker-build (backend) (push) Failing after 6s
CI / docker-build (discord) (push) Failing after 6s
CI / docker-build (manager) (push) Failing after 6s
CI / docker-build (monitoring) (push) Failing after 6s
CI / docker-build (proxy) (push) Failing after 6s
CI / docker-build (proxy_mc_starter) (push) Failing after 6s
|
||
|---|---|---|
| .cargo | ||
| .forgejo/workflows | ||
| .github | ||
| examples | ||
| packages | ||
| services | ||
| templates | ||
| .dev.env.example | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.example | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .rustfmt.toml | ||
| admin_config_example.toml | ||
| backend_config_example.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile.dev | ||
| README.md | ||
| version.txt | ||
🚀 FlexiOS
🛠️ Helpful Commands
Local Build Wing:
cross build --bin flexi_wing --target x86_64-unknown-linux-musl
cp target/x86_64-unknown-linux-musl/debug/flexi_wing packages/cloud/src/wing/flexi_wing
🧪 Local Development
There's a docker-compose.dev.yml file that enables you to use and develop the software locally.
This configuration uses profiles. By default, only Postgres and RabbitMQ are started. The remainder is optional.
Available Profiles:
- backend
- wing
- manager
- ...
Each profile builds the corresponding binary locally in Docker and starts it in network_mode: host.
This setup allows you to share the same config.toml for both Docker and direct Cargo building.
Example Command:
docker compose -f docker-compose.dev.yml --profile backend up --build
Setup Test env
flexi setup env
flexi setup run
flexi setup modpack --max-results 100
For Docker usage, you need to fill out the .env file. You can find all environment variables in .env.example.
⚠️ Docker Permission Note
When using Docker, you need to run the following commands:
sudo chown -R $(whoami):42069 config/
sudo chmod -R 640 config/
🎛️ Flexi CLI Tool
There's a custom flexi CLI tool with the most useful commands:
flexi generate→ Generates SeaORM modelsflexi fix→ Linting + formattingflexi setup env/run→ Setting up a test environment
🐰 RabbitMQ Host
📊 Get Lines of Rust Code
find . -path './target' -prune -o -name '*.rs' -print0 | xargs -0 wc -l
✨ Built with ❤️ for efficient development workflows