Skip to content

sir-typesalot/gym-journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gym Journal

Prerequisites

You will need to have python 3.8+ and have docker installed on your system. If you are trying to test running the container on a Windows machine, you would likely need a Bash terminal (Git Bash isn't a bad option).

Setup

  • Pull the repo locally
  • Create a virtual env for this repo python -m venv <virtual_env>
  • Activate the virtual environment
    • For UNIX systems - source <path_to_virtual_env>/bin/activate
    • For Windows systems - <path_to_env>\Scripts\activate
  • Install all the required packages - pip install -r requirements.txt

Run Locally

  • To test the application without the container, just run - python run.py -e local
  • To run the app within a container run - bash run_local.sh

Testing

Go through the setup steps. Run pytest tests/ -v which will run the collection of tests and output the results.

Contribution

  • Create a new branch for your changes - git checkout -B <name_of_branch>
  • Make your changes
  • Add all the changes - git add .
  • Commit all your changes - git commit -m "Description of changes"
  • Push your changes to the remote repo - git push
    • If its your first time pushing to that remote branch, run git push --set-upstream origin <branch_name>
  • Go to GitHub to view your changes and create a Pull Request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published