https://github.com/openttd/bananas-frontend-web
Front-end to the BaNaNaS API
https://github.com/openttd/bananas-frontend-web
Last synced: 3 months ago
JSON representation
Front-end to the BaNaNaS API
- Host: GitHub
- URL: https://github.com/openttd/bananas-frontend-web
- Owner: OpenTTD
- License: gpl-2.0
- Created: 2020-04-11T19:06:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-15T09:37:37.000Z (3 months ago)
- Last Synced: 2025-02-15T10:22:32.290Z (3 months ago)
- Language: HTML
- Homepage:
- Size: 237 KB
- Stars: 3
- Watchers: 6
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BaNaNaS web front-end
[](https://github.com/OpenTTD/bananas-frontend-web/blob/main/LICENSE)
This is a front-end for browsing and upload content to OpenTTD's content service, called BaNaNaS.
It works together with [bananas-api](https://github.com/OpenTTD/bananas-api), which serves the HTTP API.See [introduction.md](https://github.com/OpenTTD/bananas-api/tree/main/docs/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:
```bash
npm install
python3 -m venv .env
.env/bin/pip install -r requirements.txt
```After this, you can run the flask application by running:
```bash
make run
```### Running via docker
```bash
docker build -t openttd/bananas-frontend-web:local .
docker run --rm -p 127.0.0.1:5000:80 openttd/bananas-frontend-web:local
```