Skip to content

rajat-tomar/OpenWeightlifting

 
 

Repository files navigation

OpenWeightlifting

codecov

Local Testing

We've added a docker-compose file to make it easier to test locally. This will spin up a local instance of the backend and frontend services. In production, these services are deployed separately.

docker-compose build
docker-compose up

When you get bored and want to kill it...

docker-compose down

Backend-only

When launching the backend service you'll need to toggle the CORS flag which is done be adding the 'local' argument when calling the executable.

go build backend.go
./backend local

Frontend-only

We prefer to use npm for the frontend stuff.

npm install
npm run dev

Updating the database

To pull the latest results from the all relevant federations, you'll need to run the following command from the python_tools directory:

pipenv install
pipenv run python backend_cli.py --update all

License

Done this under the BSD-3-Clause license. Simply because it's what the sport80 library is under and i'm hella lazy.

About

Repository that is deployed for the OpenWeightlifting site

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 49.9%
  • Python 28.0%
  • TypeScript 19.8%
  • CSS 1.4%
  • Other 0.9%