This repo contains the code related to the cloud backend that is in charge of storing the data on the cloud and provide remote access to monitoring the status of the experiments. It will:
- Send and receive data and instructions from and to the local backend via web sockets.
- Expose a REST API for the Monitoring UI.
- Send live updates to the Monitoring UI via web-sockets.
The following dependencies are used on this project:
Elixir 1.4.2
.Phoenix 1.2
as our web framework.Credo
for style code checking.Faker
for faking data for testing.
To run the BioMonitor follow these steps:
- Clone the repo.
- Installs the dependencies using
mix deps.get
- Create the database running
mix ecto.create
you needPostgreSQL
installed and running on your machine. - Run the server using
mix phoenix.server
For more detailed usage, check out it here
please refer to our contributing guide for more information.