How it works

You describe each service in one small file. flisk up reads those files, writes the setup around them and starts everything on your computer.

What runs where

What runs where Your service.json files go into the flisk command. It writes generated files under .flisk. Services with a command run as local processes. The other services run as containers on Docker, started by Tilt, with Traefik in front. YOUR PROJECT FLISK YOUR COMPUTER api/service.json web/service.json worker/service.json flisk up .flisk/ Local processes Docker and Tilt Finds every service.json in the project. Tiltfile, Compose file and Traefik routes. Generated. Services with a command. No Docker needed. Services without one. Containers, live reload.
Every flisk up goes through the same steps. The files in .flisk/ are written by Flisk: change service.json, not them.

The steps

StepWhat happens
1. DescribeEach service has one service.json: its name, type, port and health check. A service with a "command" runs as a plain process.
2. Generateflisk up finds every service.json and writes the Tiltfile, the Compose file and the Traefik routes into .flisk/.
3. StartLocal-process services start on your machine. Container services are built and started by Tilt on Docker, and reload when you save a file.
4. ReachOn the Docker path, Traefik puts one address in front of every service. Flisk prints the URLs when they are ready.
5. Checkflisk status shows which services are healthy, and flisk logs -s <name> shows why one is not.

The long version, with every file and function, is How flisk up works on GitHub. If something does not start, see Troubleshooting.