- Node.js > 12
- Clone the cyfs-ts-sdk repository
git clone https://github.com/buckyos/cyfs-ts-sdk.git - In the root of the cyfs-ts-sdk repository, compile the h5 version of cyfs sdk
npm i && npm run build:h5 - Copy the resulting
out/cyfs.d.tsfile to thesrc/cyfs_sdk/directory of this repository
- Install the CYFS browser and activate it correctly
- Run
npm run start, which will replace the built-in pages in the CYFS browser with the local version
Run npm run build in the root directory and the files for the built-in pages will be generated in the www folder
srcThe source files for the built-in pagestoolnode tool script for handling directories and fileswwwThe directory where the built-in pages are generated