Web app used by Hackerspace Kraków
- Displays snapshots
- Go 1.21+
- Node.js & npm (for building the frontend)
Copy at2.example.yaml to at2.yaml and adjust the settings:
cp at2.example.yaml at2.yaml- Start the backend with the frontend in dev mode:
go run . -dev-frontend- The browser will open or navigate to
http://localhost:8080. Frontend changes will hot-reload.
- Build the application (this includes building the frontend and embedding it):
go generate ./...
go build -o temp-at- Run the binary:
./temp-atBuild the container:
docker build -t temp-at .Run the container:
docker run -v $(pwd)/at2.yaml:/at2.yaml -v $(pwd)/data:/data -p 8080:8080 temp-at