The front-end application of the software system under test for COMP 587 : Verification & Validation project.
You can download the app here or install from source following the instructions below.
- Install Python 3.10 if you haven't already.
- Use
git clone https://github.com/chizuo/COMP587-MovieApplication.gitwhere you want the project's folder to appear andcdinto the new folder. - Create a virtual environment, such as with
py -3.10 -m venv venvorpython3.10 -m venv venv. - Activate the virtual environment.
- Use
pip install -r requirements.txtto install the app's dependencies. - If you will edit the app, use
pip install -r requirements-dev.txtto install the development dependencies. - If you will make commits, run
pre-commit installto set up the git pre-commit hooks. - Choose whether
USE_MOCK_DATA(in dev_settings.py) should be set toTrueorFalse.
After the environment is set up, you can use these commands (while in the project's root folder):
briefcase devto run the app in dev mode. See BeeWare Briefcase's docs for more info if needed.pytestto run the unit tests.pre-commit run --all-filesto run all the pre-commit hooks without committing.pre-commit run hook-id-here --file file-path-here.pyto run one pre-commit hook on one file without committing.
briefcase devto run the app in dev mode.briefcase createto create the app template.briefcase updateto copy new changes into the platform directory.briefcase update -dto update the dependencies in the packaged app.briefcase buildto compile the app.briefcase runto run the compiled app.briefcase run -uto update, build, and run the compiled app.briefcase packageto create the app's installer for the current platform.briefcase package -uto update, build, and create the app's installer for the current platform.
