Skip to content

Running in GitHub Codespaces

Rhys edited this page Dec 21, 2020 · 1 revision

If you do not wish to install VSCode and the requisite packages and such to your local machine, but still wish to develop, you can use the GitHub beta feature "Codespaces" instead.

  1. Select "Open with Codespaces"

  2. It will take a long time to load.

  3. Select the terminal tab

  4. Run yarn install

  5. Run yarn install-compiler

  6. Run chmod +x ./.twine/tweego

  7. Run yarn start

  8. The .html file in /gh-pages/ will take a couple seconds to build; when it says "Built in _____ milliseconds", it has completed the build.

  9. Right click on the /gh-pages/index.html file, and select "Open with Live Server".

  10. It may take a while to load, and even fail the first time- persist, as it will open up a port eventually.

  11. You should now have a live build of the generator, running virtually through GitHub Codespaces!

Clone this wiki locally