-
Clone the repository:
git clone https://github.com/softwareVirus/micro-blog cd micro-blog
-
Create and activate a virtual environment:
python -m venv venv .venv/bin/activate # On Windows
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file in the root of your project with the following content:MONGODB_CONNECTION_STRING=your_mongodb_connection_string
Replace
your_mongodb_connection_string
with your actual MongoDB connection string. -
Run the Flask application:
flask --app ./app/app.py run