Skip to content
/ stats Public

A webpage that shows up-to-date statistics for codebar

Notifications You must be signed in to change notification settings

codebar/stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codebar stats

Website for viewing up-to-date statistics for codebar.

Setup up

Make sure node is installed - I recommend using nvm.

This project uses yarn workspaces, so you'll need to install the dependency manager yarn.

Install packages needed for this project:

yarn

Fetching the data

This repo contains a script for running SQL queries against the codebar Postgres database.

The script writes the result of the queries to the data directory within the front end.

To fetch the data, run

yarn data

Note that to run this script locally you'll need a .env file in the root of the repo, which needs to looks like this:

DB_URL=<databse-url>

The databse url can be found in Heroku.

Start the frontend

yarn start

See more here

How to deploy?

Simply pushing to master will trigger Github Actions to run checks and then deploy to Github Pages.

Read more here.

About

A webpage that shows up-to-date statistics for codebar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published