This repository holds the web api (written in python) that is run on the server to provide required REST services to clients.
Currently documentation is sparse. Please help us out!
Get docker.
Build the container using
docker build -t faf-api .
Run using
docker run -d --name faf-api --link faf-db:db faf-api
- Install Python 3.4 or later
- Install LuaJIT (or remove it from requirements.txt and use not the api methods)
- Install Dependencies
pip install -r requirements.txt - Install MySql Server
- Create faf database: https://github.com/FAForever/db
- Create
config.py(you can useconfig.example.pyas template)