Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (18 loc) · 988 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 988 Bytes

ElixirBench API

This project provides a public GraphQL API for exploring the results of the benchmarks and is responsible for jobs scheduling.

You can explore it's API doc in public GraphiQL interface.

Requirements

The projects needs Erlang, Elixir and PostgreSQL installed.

For development, a database user called postgress with password postgress is required. If desired otherwise, this configuration can be changed in config/dev.exs.

Getting started

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Set up the database and some sample seed data mix ecto.setup
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000/api/graphiql from your browser.

Deployment

To build the release you can use mix release. The relese requires a PORT environment variable.