Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 845 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 845 Bytes

c23-101-m-webapp

Prerequisites

  • Python 3.8+ (Check with python3 --version or python --version)
  • pip (Check with pip --version)
  • venv (Python's built-in virtual environment tool)

If any of these are missing, install them:

Ubuntu:

  • Install Python, pip, and venv:

    cd stocksApp
    sudo apt update
    sudo apt install python3 python3-pip python3-venv

2. Create and activate the virtual environment

cd stocksApp
# Create the virtual environment
python -m venv venv

# Activate the virtual environment
source venv/bin/activate

3. Install dependencies

Once the virtual environment is activated, install the required dependencies using the requirements.txt file:

pip install -r requirements.txt

3. Run the server

python stocksApp/manage.py runserver