Best Flask open-source libraries and packages

Updated 1 month ago

Micro-blog

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/softwareVirus/micro-blog
    cd micro-blog
  2. Create and activate a virtual environment:

    python -m venv venv
    .venv/bin/activate  # On Windows
  3. Install dependencies:

    pip install -r requirements.txt

Usage

  1. 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.

  2. Run the Flask application:

    flask --app ./app/app.py run
Tags micro