Quickstart
Binacle.Net with everything you need to look at it: Swagger UI, Scalar UI and the web UI demo. The setup to take when you are trying it out for the first time.
π οΈ Prerequisites
- Docker
- Docker Compose (included with Docker Desktop)
π₯ Download the following files
Place both in a directory of your choice. That directory is your project root.
βοΈ Customize (optional)
Edit Presets.json to use your own bins. The shipped file is enough to try things out with.
π Running the Application
In the project root:
docker compose up
This launches the Binacle.Net API with:
- π Custom Presets: loaded from your
Presets.json. - π Swagger UI:
http://localhost:8080/swagger/ - π Scalar UI:
http://localhost:8080/scalar/ - π₯οΈ UI Module:
http://localhost:8080/- the packing demo and the ViPaq decoder. - π Logs Folder: a
./data/logsfolder is created for application logs.
π What to look at
- Swagger UI -
http://localhost:8080/swagger/, to explore and call the endpoints. - Scalar UI -
http://localhost:8080/scalar/, an alternative to Swagger. - UI Module -
http://localhost:8080/, the visual packing demo.
βοΈ Customizing Presets
To change bin configurations:
- Open
Presets.jsonin your editor. - Edit the bin definitions.
- Restart to apply:
docker compose down docker compose up
π Logs Folder
A ./data folder is created for application data, including logs. The ./data and ./data/logs directories
need write permissions.
Setting Permissions
mkdir -p ./data/logs
sudo chmod -R 777 ./data
777 gives full access to all users. Adjust permissions as needed for security.
This setup is for looking at Binacle.Net, not for running it. For a real deployment see Prod, or Service if you need accounts.
π Additional Resources
Happy packing! π¦β¨