Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.44 KB

README.md

File metadata and controls

44 lines (30 loc) · 2.44 KB

BaNaNaS web front-end

GitHub License GitHub Tag GitHub commits since latest release

GitHub Workflow Status (Testing) GitHub Workflow Status (Publish Image) GitHub Workflow Status (Deployments)

GitHub deployments (Staging) GitHub deployments (Production)

This is a front-end for browsing and upload content to OpenTTD's content service, called BaNaNaS. It works together with bananas-api, which serves the HTTP API.

See introduction.md for more documentation about the different BaNaNaS components and how they work together.

Development

This front-end is written in Python 3.7 with Flask.

Usage

To start it, you are advised to first create a virtualenv:

npm install
python3 -m venv .env
.env/bin/pip install -r requirements.txt

After this, you can run the flask application by running:

make run

Running via docker

docker build -t openttd/bananas-frontend-web:local .
docker run --rm -p 127.0.0.1:5000:80 openttd/bananas-frontend-web:local