rchovatiya88 / cs1ce

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS1 Logo

CS1 Engine Community Edition


Staging

Prod

Desired Features

  • WebXR
  • PWA
  • Reactive State Management
  • Realtime Multiuser
  • Auth

Building the CS1 Engine

From the terminal execute: pnpm run engine


Publishing to NPM

Use the following pattern to publish any npm package from Glitch

If you wish to create your own modified version of the CS1 Game Server:

  • Create an npm account
  • Create an npm token
  • Record your npm token in .env.
  • Create a .npmrc file in the src/server directory with the following line:
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
  • Configure the package.json in the src/server directory according to your details
  • Make sure to set a unique version before publishing package to npm.
  • Open a Terminal and run cd src/server
  • In the Terminal run npm publish

About


Languages

Language:JavaScript 84.7%Language:TypeScript 11.2%Language:HTML 4.0%