Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 821 Bytes

README.md

File metadata and controls

50 lines (40 loc) · 821 Bytes

create-aelf-dapp

Quick Start the template

Please turn to ./apps/create-aelf-dapp/REAME.md for more information.

npm create aelf-dapp my-aelf-dapp
cd my-aelf-dapp

Quick Start the applications

Install dependencies

pnpm install

start the applications

# 3005 dev template & all demos
pnpm run -C apps/aelf-template dev
# 3006 socket
pnpm run -C apps/server-socket-io dev
# 3007 chaingpt
pnpm run -C apps/server-chaingpt start:dev

build

# independent
pnpm run -C packages/request-all-in-one build
lerna run build --scope request-all-in-one
# all
pnpm run build # pnpm recursive run build
lerna run build

publish to npm

lerna publish

rm node_modules

# Remove the node_modules directory from all packages
lerna clean
rm -rf node_modules/