Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.
/ Intel Public archive

Back end for the Captain Draft & Mix PUG Service under HLPugs.tf

License

Notifications You must be signed in to change notification settings

HLPugs/Intel

Repository files navigation

Intel

Travis (.com) Codecov Code Climate Discord GitHub

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.

Getting Started

Prerequisites

  • 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

Installing

  1. Clone the repository
  2. Within the repository execute npm i
  3. Create a new database within PostgreSQL
  4. Create a default.json within config/ utilizing example-default.json and default-travis.json as references
  5. Run npm run build-db to generate Intel's structure within your new DB

Developing

  1. Run npm run watch-node in one terminal
  2. 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:

  1. Run npm run build-ts
  2. Run npm start

Deployment

  1. Run npm run build
  2. 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.

Built With

... and much more.

Authors

See the contributors page for more people who've helped with the project.

License

This project is licensed under the MIT License. See LICENSE.md for details.

Acknowledgements

  • erynn for helping with technical questions when building the legacy version of HLPugs.tf

About

Back end for the Captain Draft & Mix PUG Service under HLPugs.tf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages