Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

OneKey API Web Application

The OneKey API web application is implemented using the Python Flask web application framework.

Its dependencies are defined as follows:

  • The Python module dependencies are specified in requirements.txt.
  • Bower dependencies (Javascript+CSS) are specified in bower.json.

The server runs in a Docker container, which setup is defined in Dockerfile, in which all packages and additional configuration is specified.

The project build uses Gradle. In order to get the server running just need to run:

$ ./gradlew run

This will build the Docker image, start a new Docker container that will be listening on localhost:5000 and kill any containers from the same image that may be running already.

Note: When the container is run, the virtual environment is created (inside venv and also all Bower dependencies are retrieved, which may take some time, meaning that the server may not answer straight away even if the container is already running.

All changes made to your project files are inmediately reflected in the container, as the project folder is mapped as a volume and the server is restarted once a change is detected.

Currently, the server configuration, such as RabbitMQ connection settings, and mail server settings are specified in encelladus/config.cfg.

Docker Pull Command
Owner
activems
Source Repository