No description
Find a file
2022-03-07 00:48:38 -06:00
common Add a makefile to build both ESM and CJS 2022-03-06 23:06:18 -06:00
docs Add players.update event documentation 2022-01-06 16:26:58 -07: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