This repository provides detailed documentation for a hypothetical project demonstrating GitHub functionalities. It includes examples of repository management, branching, and collaboration workflows, making it an excellent resource for developers and students exploring GitHub's features in a practical context.
- Clone this repo to your local PC.
- Navigate to the root directory of the project using the command line.
- Ensure you have
pip
installed. If not, install it on your PC. - Install
pipenv
via the command line:$ pip install pipenv
- Create a virtual environment with
pipenv
using Python 3.9.18:$ pipenv --python 3.9.18
- Install the dependencies provided in this repo:
$ pipenv install -r requirements.txt
- Activate the virtual environment with
pipenv
:$ pipenv shell
- Run the app:
$ flask run
. This command starts the Flask development server. By default, it will run onhttp://127.0.0.1:5000/
. You can specify a different host and port if necessary:$ flask run --host=0.0.0.0 --port=8000
- Once the Flask app is up and running, open a new terminal window.
- In the root directory of the project, run:
$ python -m unittest discover -s tests
. This will run the entire unit test suite in this project. - You can also run each unit test file separately:
$ python -m unittest tests.test_chef