bitskyai / bitsky-builder

Build BitSky Desktop Application, Web Application, and Docker images

Home Page:https://www.bitsky.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BitSky Builder

Available Build Scripts

Following are the avaible build scripts.

Build BitSky Official Website

npm run build-landing

Build latest landing application to bitskyai.github.io folder

Build BitSky Web Application

npm run build-web-app

Build latest web application to bitsky-web-app folder, and by default start web app, you can view it - http://localhost:9099.

If you don't want to start application, then you can do this:

export NOT_START_SERVER=true && npm run build-web-app

If you don't want to intall node_modules, then you can do this:

export NOT_INSTALL_NODE_MODULES=true && npm run build-web-app

Build BitSky Desktop Application

npm run build-desktop-app

Build latest desktop application inside bitsky-desktop-app/out

Copy BitSky Web Application to Desktop Application

During develop time, after you change bitsky-ui or bitsky-supplier, if you want to test it inside Desktop Application, you need to run this command to copy latest changes to bitsky-desktop-app. After executed successfully, then you need can run npm start inside bitsky-desktop-app to see latest changes.

npm run copy-web-app-to-desktop-app

Build docker images

Build bitskyai/headless-producer and bitskyai/http-producer docker image:

npm run build-docker-http-producer
npm run build-docker-headless-producer

Build bitskyai/web-app docker image:

npm run build-docker-web-app

If you want to get latest UI, run first:

npm run build-web-app

Prepare Release

To update all the package.json and package-lock.json to same version, and build bitsky-web-app, and automatically commit changes.

npm run prepare-release 0.3.0

0.3.0 is the version you want to release

About

Build BitSky Desktop Application, Web Application, and Docker images

https://www.bitsky.ai

License:Apache License 2.0


Languages

Language:Shell 79.3%Language:JavaScript 20.7%