git clone https://github.com/openpitrix/dashboard.git
cd dashboard
yarn
yarn dev
You can run dashboard in docker
:
docker pull openpitrix/dashboard
docker run -d --rm --name openpitrix-dashborad -p 8000:8000 openpitrix/dashboard
Then open your favorite browser: http://localhost:8000
We also support running openpitrix/dashboard
in ARM platform using docker
See build steps in Dockerfile.arm
If you want try local build for ARM:
make build-arm
make run-arm
Or running our official arm64 image from docker hub:
docker pull openpitrix/dashboard:min-arm64
docker run -d --rm --name openpitrix-dashborad-arm -p 8000:8000 openpitrix/dashboard:min-arm64
yarn
yarn dev
We prefer yarn
as our package manager, if you like npm
:
npm i
npm run dev
yarn test
For production build:
yarn prod:build
Apache v2