To start the dev server: yarn dev
, then open http://localhost:9001
Lets say you'd like to prototype a new protolab called newlab
:
-
Fork Protolab to your GitHub account
- Open: https://github.com/code-dot-org/protolab, click the Fork button
- Select yourself as the owner, repository name:
newlab
, click Create Fork - After the fork completes, you'll be taken to your new GitHub repo: https://github.com/username/newlab
-
Enable GitHub actions, to automatically build your repo on push
-
Make a source change
- Edit
src/Lab.tsx
and changeLAB_NAME
tonewlab
- Commit the change, and push it back to your repo
- GitHub Actions will build on push, you can find active builds at: https://github.com/username/newlab/actions
- About 1 minute later, you can view your changes on: https://username.github.io/newlab
- Edit
-
When you're ready to collaborate with others, Fork Protolab back to the code-dot-org organization