Server Management
There are a few commands to help manage the server. To run any of them, first open a terminal and navigate to the airbattle-hosting directory:
bash
cd airbattle-hostingSetup
To setup the whole repo/server, run:
bash
npm run setupThis will install and build each of the components.
Start the Server
To start the server, run:
bash
npm run startRunning Spatie Bots
In a separate terminal, navigate to the airbattle-hosting directory and run (with 10 bots):
bash
npm run bots -- --num=10Change Game Mode
TODO
This command does not exist yet.
Update
TODO
This command does not exist yet.
- git pull recrusively
- npm install components that have changed their package*.json
- Rebuild components that have changed
Development
TODO
This command does not exist yet.
- Allow specifying component(s) to run