After cloning this repository, please follow these steps to get started on development with Bluefish.
-
Run the following command to globally install Turbo:
npm install turbo --global
For more information on how to do this, please reference the Turbo docs
-
Run
pnpm installfrom the root directory to install the necessary node modules. -
Navigate to
packages/bluefish-solid/publicand duplicate theApp.template.tsxfile. Rename the copy toApp.tsx. ThisApp.tsxfile serves as a playground for thebluefish-solidpackage. -
Navigate to
packages/bluefish-js/publicand duplicate theApp.template.tsfile. Rename the copy toApp.ts. ThisApp.tsfile serves as a playground for thebluefish-jspackage. -
From the root of this repository, run
turbo build. Thebluefish-jspackage depends on thebluefish-solidpackage--so the latter must be built in order for the former to run properly. -
Once the packages have been built, you can run
turbo dev, and it will render in your browser whatever is in theApp.ts(x)files.- If you just want to run one of the two packages, run
pnpm devfrom either thebluefish-jsorbluefish-solidfolders.
- If you just want to run one of the two packages, run