blocklet / media-kit

Simple image upload and sharing blocklet
Other
4 stars 0 forks source link

Getting Started with Create Blocklet

This project was bootstrapped with Create Blocklet.

This project is a monorepo project, which means that there are multiple blocklet applications.

File Structure

Development

  1. 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

  2. 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

  3. init project

 make init
  1. Go to the main blocklet directory cd blocklets/[main blocklet] or cd websites/[main blocklet]
  2. Start development server: npm run dev
  3. Go to the other websites directory cd blocklets/[other blocklet] or cd websites/[main blocklet]
  4. Start development server: npm run dev:child

update version

npm run bump-version

Reference

Our docs site is generate by Create Blocklet itself.

We use Blocklet Page to write our docs

check more details on