- prod demo entrypoint:
clojure -A:dev -X prod/main
(compiles photon at runtime, fixme)
- Docker Desktop (includes CLI and bundled VM provider)
docker login docker ps docker build -t hyperfiddle/photon-demo . docker run -dP hyperfiddle/photon-demo docker run -it hyperfiddle/photon-demo bash docker push hyperfiddle/photon-demo:latest docker build --platform linux/amd64 -t hyperfiddle/photon-demo . docker buildx build --platform linux/amd64,linux/arm64 -t hyperfiddle/photon-demo .
npx jamsocket create photon-demo npx jamsocket service create photon-demo npx jamsocket push photon-demo hyperfiddle/photon-demo:latest npx jamsocket spawn photon-demo
brew install flyctl fly auth signup fly auth login fly launch # wizard to create new project, go to https://fly.io/dashboard/personal from here out ... fly deploy
cost = $41/mo for dedicated-cpu-1x, 4GB ram -- https://fly.io/docs/about/pricing/
- https://hub.docker.com/_/clojure
- Apple Silicon requires --platform linux/amd64