This repo is the web client of GoPlan, you need to have a GoPlan API server running when using this client. You can find the GoPlan API server repo here.
npm install
cp .env.development.example .env
- modify
.env
to suit your local development preferences
npm start
This will run the app in the development mode.
Open http://localhost:3000 to view it in your browser.
cp .env.production.example .env
- Modify
.env
to suit your docker deployment preferences sudo docker compose build
sudo docker compose up
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Ref: https://yeasy.gitbook.io/docker_practice/buildx/multi-arch-images?utm_source=pocket_mylist
docker run --rm --privileged tonistiigi/binfmt:latest --install all docker buildx create --use --name=mybuilder-cn --driver docker-container --driver-opt image=dockerpracticesig/buildkit:master docker buildx use mybuilder docker buildx build --platform linux/arm,linux/arm64,linux/amd64 -t goooooouwa/goplan-web . --push