Some graphs for analyzing repositories, teams, and work, largely inspired by this article.
This project uses Deno to run and PostgreSQL to store the data.
Set up the environment:
- Create a database and a database user for this app
(
createdb graphs; createuser graphs -slP
). - Create
.env
file (copy the.env.example
) and fill in the necessary values, if not already correct from.env.defaults
(seedotenv
). - Create a Github Personal Access Token for the Github API. You will get errors if the permissions are wrong, but which are required is not yet determined.
- Migrate the database using Nessie (
deno task nessie migrate
) - Populate the database with some data using the populate script (see
deno task populate --help
)
You should now be able to run the app by running deno task dev
in the app
directory.