Skip to content

cherrypush/cherrypush.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,033 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cherry allows you to track your technical debt with minimal setup. You configure the codebase patterns you want to track once. Cherry will then run on every commit and report the stats to your dashboard. It's that simple.

GitHub Workflow Status Visit the NPM page Commits per month Follow us on 𝕏

View performance data on Skylight View performance data on Skylight View performance data on Skylight


Getting started

# clone the project
git clone git@github.com:cherrypush/cherry.git
cd cherry

# install dependencies
bundle install
npm install

# setup database
docker compose up -d
rails db:setup

# launch the server
bin/dev

# Populate the database
npm install -g cherrypush
export API_URL=http://localhost:3001/api
cherry backfill --api-key=28ea02ee-c6e5-4e5f-b2b6-690c4cd6ca2f # Copy command from http://localhost:3001/user/projects

Secrets are stored in config/credentials.yml.enc. To decrypt them you need config/master.key (or the RAILS_MASTER_KEY env var) — ask a maintainer for it.

Heroku shortcuts (parity)

The parity gem provides shortcuts like production console, production logs, and development restore production to sync the prod database into dev. It expects a git remote named after each environment:

heroku git:remote -r production -a cherrypush-production

Contributing

In addition to the above-mentioned docs, a great way to get started is to watch some of the live sessions below. This should give you insights on how to navigate the codebase and start contributing.

TODOs:

  • Remove the "watch" feature from metrics as this is not generally used
  • Address TODO comments in the codebase
  • Bump eslint from ^8.55.0 to ^10.0.3
  • Bump flowbite-react from ^0.7.0 to ^0.12.17
  • Remove the minimatch override in package.json (depends on the two tasks above)

Any further question or suggestion?

About

This project is the SaaS dashboard that works hand-in-hand with the Cherry CLI to keep track of your codebase metrics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors