-
Notifications
You must be signed in to change notification settings - Fork 1
Execution
In general any web server should be able to host this app out of the box, but some features requires some more complexity. A simple implementation of the built-in Python web server is included which allows a user to upload results back to the host but this requires a desktop platform or remote host at this time. There is also an included Dockerfile and docker-compose file.
A docker compose file is provided in the /docker
directory. To pull the image and run it run the following commands. docker-compose.yml
can be edited to change the port mapping and The Blue Alliance API key.
docker-compose pull
docker-compose up -d
Python 3 is required to run the server. An optional The Blue Alliance API key can be provided at runtime, otherwise, the app will use the value in scripts/keys.js
. The port used can be changed in the top of the Python script.
TBA_KEY=[TBA_API_KEY] python3 python/post-server.py