FLASK-CONTACTS-DEVOPS

Project Name

A brief description of the project, what it does, and its main features.

Table of Contents

Flask contacts

alls

Use

installation

Python installation(Debian/Ubuntu)

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

.venv creation (Optional)

python3 -m venv .venv
source .venv/bin/activate

Install dependencies

pip3 install -r requirements.txt

Run

environment variables

This project requires the following environment variables to be set: Create a .env file in the root of your project and add the following lines:

Required Variables:

Optional Variables

Set environment variables by script (Linux optional)

export OPENAI_API_KEY=your_openai_api_key
export DB_HOST=your_database_host
export DB_USER=your_database_user
export DB_PASSWORD=your_database_password
export DB_NAME=your_database_name
export DEBUG=false

For MYSQL RUN Migration

python3 migrate.py
python3 app.py

Access the application :

application should be available at port 5052 Route examples:

Screenshots

delete edit message new search

License

some license example

Contact

contact Arja Stark from Winterfell ```