-
Notifications
You must be signed in to change notification settings - Fork 327
Local Setup
You can run the game server locally if you have npm
and node
v20, and also git
. To start the game server run these commands:
npm install
npm run build
npm run start
This will start the web server. Point a browser to http://localhost:8080, to get to the game's home page.
To change a port from 8080, set the environment variable PORT
in your .env
file.
PORT=9000
Each server has a secret server ID, which an admin can use to access game administration pages like the games overview.
Pointing your web browser to http://localhost:8080/games-overview?serverId=
SERVER_ID will provide a list of all games available on the server.
You can either set a value by settimg the environment variable SERVER_ID
, or instead it will generate one randomly at server startup. Either way, the secret ID is shown in the console at startup.
- Chromebook: Instructions are here
The game
Fan Expansions
Development
- Databases
- Development tips
- Docker Setup
- dot env
- Heroku Setup
- Local Setup
- Changing-game-data-for-local-testing
- Adding New Cards
- Working with VSCode
- Postgres Notes
- Translations
Other