Gravwell-Online/README.md

720 B

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