shaldengeki / fitbit-challenges

Home Page:https://fitbit.ouguo.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fitbit-challenges

Test status

Development

Set up pre-commit

This will set up some hooks that will fix e.g. trailing whitespace or formatting issues when you git commit:

pip install pre-commit
pre-commit install
pre-commit run --all-files

Run the app

Install docker compose, then:

docker compose up

That should bring up the full stack of applications.

Navigate in a browser to:

You should be able to make changes to frontend files and see them show up ~immediately!

Run tests

To run tests once, run bin/test, which will run Python and JS tests. The command will error out if any tests failed.

If you're doing JS development, you might find it helpful to set up the test watcher. In a terminal, do cd frontend && npm test. This will run an ongoing process to watch for changes to files & re-run tests as needed.

About

https://fitbit.ouguo.us

License:MIT License


Languages

Language:Python 59.8%Language:TypeScript 36.4%Language:JavaScript 0.9%Language:Shell 0.9%Language:HTML 0.7%Language:Dockerfile 0.6%Language:CSS 0.4%Language:Mako 0.2%