Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juanmanuelramallo/haxlaton

Display match recordings
https://github.com/juanmanuelramallo/haxlaton

haxball

Last synced: about 2 months ago
JSON representation

Display match recordings

Awesome Lists containing this project

README

        

# Haxlaton

[![CI](https://github.com/juanmanuelramallo/haxlaton/actions/workflows/ci.yml/badge.svg)](https://github.com/juanmanuelramallo/haxlaton/actions/workflows/ci.yml)
[![Haxball client](https://github.com/juanmanuelramallo/haxlaton/actions/workflows/haxball_client.yml/badge.svg)](https://github.com/juanmanuelramallo/haxlaton/actions/workflows/haxball_client.yml)

A server where the results of www.haxball.com matches will be stored. In Haxball you should configure a bot that will communicate with this server (check https://github.com/juanmanuelramallo/haxlaton/tree/master/lib/haxball_client for further references about the bot code)

## Setup

### ENV vars
Create a file `.env` and add `HOST_NAME=` entry. This is the actual host name where the app is run (i.e. haxlaton.dokku.1ma.dev)

### Install
Execute the next commands:
```sh
bundle install
yarn install
bundle exec rake assets:precompile
bundle exec rails db:setup
bundle exec rails db:migrate
```

## Run the server
Now you're ready to get the server up and running
```sh
bundle exec rails s
```

## Haxball client

Run the server, create a room and follow the instruction to get the haxball client script.