| tags | |||
|---|---|---|---|
|
You can use npm or pnpm (or probably yarn), but this README shows examples using pnpm
You must first download the example with the following command:
git clone --depth=1 https://github.com/adap/flower.git _tmp && mv _tmp/intelligence/ts/examples/hello-world-ts . && rm -rf _tmp && cd hello-world-tsYou can then install the project dependencies with:
pnpm iIf you want to build the project, you can use:
pnpm buildIn order to run the example once the project has been built:
node dist/index.jsYou can also use `pnpm start` to perform the installation, build, and run steps at the same time.