List Fortress is a website for collecting and viewing tournament results for X-Wing Miniatures Second Edition.
Contributions are welcome. Feel free to make a pull request or send me a message if you'd like to coordinate a change.
When building a new pc, I tried to document how I ended up installing and configuring everything. Check out the more detailed write up
Install the version of Ruby found here, a recent version of Node and Postgres.
Fork and download the repo:
git clone --recurse-submodules+ the repo url
Check that the submodule files are present. If you didn't use
git submodule init+
git submodule update
Create an config file by running
cp config/application.yml.sample config/application.ymland then provide the db username and password. Slack, Google and AWS keys are optional unless you want to use SSO and log file cloud storage.
Install the required gems:
Set up the database:
rails db:create db:migrate db:seed
Run the task to import xwing_data2 from the submodule:
Start the server:
List Fortress also offers an API for easily exporting tournament data.
You can find a list of tournaments at
https://listfortress.com/api/v1/tournaments/ . Just append a tournament's id to get the participant names, squads and match information if available.