Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 897 Bytes

BUILDING.md

File metadata and controls

33 lines (27 loc) · 897 Bytes

Build Instructions

Prerequisites

Have the following installed

  • git version 2.25.1+
  • node version 14.17.4+
  • npm version 6.14.14+

Clone the repository & add its upstream

git clone https://github.com/SHSGames/shsgames.github.io.git shsgames
cd shsgames
git remote add upstream https://github.com/JoshMerlino/tsx-app.git

Install build tools and node modules

sudo apt-get install build-essential -y
npm install

Building

npm run build

Running the app

With the integrated server:

  • Run npm start to run the server

With your own server:

  • Copy the contents of the public_html folder to your web root.
  • Ensure all 404 errors are automaticly rerouted to index.html or 404.html. Example: src/runtime/static.ts:9