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 install
from the root directory to install the necessary node modules. -
Navigate to
packages/bluefish-solid/public
and duplicate theApp.template.tsx
file. Rename the copy toApp.tsx
. ThisApp.tsx
file serves as a playground for thebluefish-solid
package. -
Navigate to
packages/bluefish-js/public
and duplicate theApp.template.ts
file. Rename the copy toApp.ts
. ThisApp.ts
file serves as a playground for thebluefish-js
package. -
From the root of this repository, run
turbo build
. Thebluefish-js
package depends on thebluefish-solid
package--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 dev
from either thebluefish-js
orbluefish-solid
folders.
- If you just want to run one of the two packages, run