Skip to content

Hands on laboratory to create a basic online calculator application that will be deployed to Amazon Web Services (AWS)

License

Notifications You must be signed in to change notification settings

yylocky/UWA-Workflows-in-GitHub-2023

 
 

Repository files navigation

UWA Workflows in GitHub - Hands On Lab

GitHub Contributors GitHub Downloads GitHub Forks GitHub Issues GitHub Last Commit GitHub License GitHub Open Issues GitHub Open Pull Requests GitHub Python Version GitHub Repository Size GitHub Stars GitHub Weekly Commit Activity

Overview

This GitHub repository deploys a simple Python Flask web application.

Assumptions

  • You have Python 3.x installed on your local machine.
  • You have PIP3 Python package manager installed on your local machine.
  • You have the Virtual Python Environment builder installed on your local machine.

Setting Up Your Development Environment

  1. Create a new Python virtual environment:

    python3 -m venv .venv
  2. Activate the virtual environment:

    source .venv/bin/activate
  3. Install the required Python dependencies:

    pip3 install -r requirements.txt

Usage

After creating and configuring your virtual environment, run the following command to start the Python Flask web application:

python3 application.py

Next, open a web browser and navigate to:

http://127.0.0.1:5000

Unit Tests

After creating and configuring your virtual environment, run the following command to run the unit tests:

pytest

Alternatively, you can run the unit tests in the Testing extension of Visual Studio Code.

About

Hands on laboratory to create a basic online calculator application that will be deployed to Amazon Web Services (AWS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.8%
  • HTML 35.4%
  • CSS 15.8%