Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 849 Bytes

how-to-host.md

File metadata and controls

16 lines (13 loc) · 849 Bytes

How to host it at your Github pages

  1. Read the GitHub pages documentation
  2. Add a CNAME record <user>.github.io with your subdomain to your domain DNS
  3. Fork the repo
  4. Change the line 4 in the deploy.sh file according to your repository address
git remote add origin git@github.com:YourGitHubAccount/touchme.git
  1. Change the contents of public/CNAME file to match the subdomain you want the app to be accessible at
  2. Run pnpm run build to build the app to dist/ folder
  3. Run pnpm run deploy to upload the built site to the gh-pages branch of your repo
  4. Go to your repository settings and configure the GitHub pages.
  5. Enjoy your self-hosted version of the interactive playground.