/tronbox

Tron bots that battle... in a box?

Primary LanguageJavaScriptApache License 2.0Apache-2.0

tronbox

Tron bots that battle... in a box? This is a work in progress.

See it in action: https://sladewasinger.github.io/tronbox/

picture of tronbox in action

Project Info:

  • Vue.js 3 SPA
  • Node.js
  • Express API

First-time installation

Run the app:

Terminal 1 (Frontend - Vue.js):

  • cd spa/src
  • npm install (first-time only)
  • npm run start (saved changes are automatically updated in running app)

Terminal 2 (Backend - Node.js Express API):

The following steps are completely unnecessary since the API is empty.

  • cd api
  • npm run start

Building/Deploying:

I am using github pages to host this repo. There are 3 options for storing the deployment files:

  • In the docs/ folder of the master branch
  • In the /(root) of the master branch
  • In the /(root) of the gh-pages branch

I have chosen the /(root) folder in the gh-pages branch.

To get a fresh build, simply push changes to the master branch! I setup a github action™ to automatically build the Vue app, and then the github pages bot will take care of the actual deployment automatically.

The github deployments page will show deployments.