Skip to content

erenes/bananas-frontend-web

 
 

Repository files navigation

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

About

Front-end to the BaNaNaS API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 53.0%
  • Python 32.3%
  • CSS 7.5%
  • JavaScript 4.8%
  • Dockerfile 2.0%
  • Makefile 0.4%