snickell / newlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protolab

To start the dev server: yarn dev, then open http://localhost:9001

Building a Protolab

Lets say you'd like to prototype a new protolab called newlab:

  1. Fork Protolab to your GitHub account

    1. Open: https://github.com/code-dot-org/protolab, click the Fork button
    2. Select yourself as the owner, repository name: newlab, click Create Fork
    3. After the fork completes, you'll be taken to your new GitHub repo: https://github.com/username/newlab
  2. Enable GitHub actions, to automatically build your repo on push Enable Github Actions

  3. Create a codespace or clone locally Create Codespace

  4. Make a source change

    1. Edit src/Lab.tsx and change LAB_NAME to newlab
    2. Commit the change, and push it back to your repo
    3. GitHub Actions will build on push, you can find active builds at: https://github.com/username/newlab/actions
    4. About 1 minute later, you can view your changes on: https://username.github.io/newlab
  5. When you're ready to collaborate with others, Fork Protolab back to the code-dot-org organization

About


Languages

Language:TypeScript 88.8%Language:CSS 8.1%Language:JavaScript 1.7%Language:HTML 1.4%