No description
Find a file
2022-03-07 17:57:48 -06:00
common Add a type that has genericized request data 2022-03-07 17:57:48 -06:00
docs Tweak the documentation for events 2022-03-07 00:51:30 -06:00
server Begin work on the Game class 2022-01-09 01:21:00 -06:00
web-svelte Add another possible spaceship idea 2022-03-07 00:48:38 -06:00
.gitignore Add the cjs and ems module builds to the gitignore 2022-03-07 00:00:33 -06:00
README.md Add steps relating to the weirdness that is the common module 2022-03-07 00:01:00 -06:00

Gravwell-Online

Development:

Below are the steps required to run the code in development mode:

  1. Clone the git repository
  2. Go into the common code module: cd common
  3. Build the code for commonjs and ES module distribution with: make
  4. In a new terminal: cd web-svelte
  5. Install the required dependencies: pnpm install - If the common module fails to import, link it with pnpm link ../common/esm
  6. Run Vite: pnpm dev
  7. In a new terminal: cd server
  8. Install the required dependencies: pnpm install - If the common modules fails to import, link it with pnpm link ../common/cjs
  9. Compile the server code with tsc
  10. Run the server code with pnpm start