This project was bootstrapped with Create Blocklet.
This project is a monorepo project, which means that there are multiple blocklet applications.
- .prettierrc - Prettier configuration
- LICENSE - License file
- Makefile - Makefile
- package.json - Npm package file
- eslintrc.js
- lerna.json
- README.md - A guide for this blocklet
- version - Version file
- .gitignore
- .npmrc
- scripts/
- batch-modify-deps-version.mjs
- bump-version.mjs
- blocklets/ - Blocklet applications
- websites/ - Static website
-
Make sure you have @blocklet/cli installed
Blocklet needs blocklet server as a dependency. So you need to install it first.
npm install -g @blocklet/cli
See details in https://docs.arcblock.io/abtnode/en/introduction/abtnode-setup#use-the-binary-distribution -
Init blocklet server & start blocklet server
Before starting an blocklet server, you need to init blocklet server.
blocklet server init --mode=debug
blocklet server start
See details in https://docs.arcblock.io/abtnode/en/introduction/abtnode-setup#configure-abt-node -
init project
make init
- Go to the main blocklet directory
cd blocklets/[main blocklet] or cd websites/[main blocklet]
- Start development server:
npm run dev
- Go to the other websites directory
cd blocklets/[other blocklet] or cd websites/[main blocklet]
- Start development server:
npm run dev:child
npm run bump-version
Our docs site is generate by Create Blocklet itself.
We use Blocklet Page to write our docs
check more details on