go install moon/cmd/agent@latestFirst, you need to install (Go)[https://go.dev/doc/install]. This project require at least go 1.23.2.
Then, you can clone and compile everything :
git clone https://moon
cd moon
make build-clientA binary named moon-agent will be located in the build/ folder.
This project use
keycloakto authenticate users. You will need to install it on your own or use thecompose.ymlfile
Configuration are read from config.yml file. The server search for file at the
following location :
/etc/moon/config.yml$HOME/.config/moon/config.yml$(pwd)/config.yml
The server image can be build manually :
docker build -t moon-server .or
docker run bmehdi777/moon-server@latestBuild keycloak theme :
make build-kc-theme
Create a file config.yml in the root project folder :
app:
global_domain_name: m00n.fr
http_addr: "0.0.0.0"
http_port: "8080"
database:
driver: sqlite
sqlite_driver: "./moon.db"
#driver: postgres
#postgres_user: moon
#postgres_password: moon
#postgres_dbname: moon
#postgres_port: 5432
auth:
realm: "moon"
base_url: "http://localhost:8081"
algorithm: S256
audience: "test"- Launch the docker compose : docker compose up
- Launch the server : ./build/moon-server
- Launch the api test : ./build/api-test
- Login with the agent : ./build/moon-agent login
- Launch the agent : ./build/moon-agent start http://localhost:5000
- Complete this readme :
docker run ...isn't complete (which port open ? which env variable ? etc.) - Explain how everything works (excalidraw architecture)
- Found logo