Have the following installed
- git version 2.25.1+
- node version 14.17.4+
- npm version 6.14.14+
git clone https://github.com/SHSGames/shsgames.github.io.git shsgames
cd shsgames
git remote add upstream https://github.com/JoshMerlino/tsx-app.gitsudo apt-get install build-essential -y
npm installnpm run buildWith the integrated server:
- Run
npm startto run the server
With your own server:
- Copy the contents of the
public_htmlfolder to your web root. - Ensure all 404 errors are automaticly rerouted to
index.htmlor404.html. Example: src/runtime/static.ts:9