Back end for the Captain Draft & Mix PUG Service under HLPugs.tf. The goal of this project is to create a tool for Captain Draft & Mix PUGs in Team Fortress 2 that is customizable and extendable.
- Node.js
- npm (this comes with Node.js now)
- TypeScript installed: Run
npm i -g typescript
from a command prompt - PostgreSQL v10+ - There are many great tutorials on how to install this on your system of choice
- (Optional) Payload - The accompanying front end to Intel
- Clone the repository
- Within the repository execute
npm i
- Create a new database within PostgreSQL
- Create a
default.json
withinconfig/
utilizingexample-default.json
anddefault-travis.json
as references - Run
npm run build-db
to generate Intel's structure within your new DB
- Run
npm run watch-node
in one terminal - In another terminal window run
npm run watch-ts
These two commands combined will let you develop very quickly. The Node instance will restart every time you change and save a file.
If you do not want the constant building, you can always build manually and run as such:
- Run
npm run build-ts
- Run
npm start
- Run
npm run build
- Put the built files onto a server and run it using a Node process monitor/manager such as PM2
This section is a definite work in progress. Deployment instructions including databases, Payload, NGINX, and more should be better explained in the future.
- Typescript - Type system
- Express - Route handler
- Socket.io - Front end communications
... and much more.
See the contributors page for more people who've helped with the project.
This project is licensed under the MIT License. See LICENSE.md for details.
- erynn for helping with technical questions when building the legacy version of HLPugs.tf