Files
mini-loader/docs/setup-server.md
Morten Olsen 0cf2e44dec initial docs
2024-01-11 14:05:10 +01:00

792 B
Raw Blame History

The easiest way to get up and running is using docker

First lets deploy the container

docker run -p 4500:4500 -n mini-loader ghcr.io/morten-olsen/mini-loader:main

Thats it, your server should be running

curl http://localhost:4500/health

Next we need to authorize. Since we have not setup authorization, we need to use our container to issue a token.

docker exec mini-loader mini-loader create-token

Which will output a token for us to use

Now we need to authorize our CLI client before we can start to interact with our server.

mini-loader auth login https://localhost:4500

Verify that the CLI is working by fetching the loads

mini-loader loads ls

[Next: interacting with the server](./interacting-with-server.md]