This fork of the SAFE bookstore project shows:
- How to run the app on kuberentes
- How to setup Postgres storage
- How to run Postgres migrations
- How to run a regular cleaning job
- Install Docker desktop - includes k8s and a local docker repo
- In Docker desktop, enable kubernetes:
Settings > enable > restart - Install any SAFE bookstore requirments you don't already have.
- Bundle the project
./build.cmd BundleClient
- Build the docker file
docker build -t book-store .
- Deploy to docker
docker run -d -p 80:8085 book-store
Open http://localhost:80 to see it running.