Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 475 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 475 Bytes

Backend server for Graphite.

  1. Run docker compose up
  2. Run server with cargo run

Connecting with locally created database

psql -p 5432 -h localhost -U postgres

In order to run the app you will need /config/dev.toml file. Here is the template:

[database]
connection = "postgres://postgres:dev@localhost:5432/database"

[server]
port = 3000
address = "127.0.0.1"

[oauth]
github_client_id="<github_client_id>"
github_secret_id="<github_secret_id>"