Skip to content

DerFacn/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥝Kiwi blog

Welcome to the 🥝Kiwi blog project! This is a monolithic Flask-based blog system.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/derfacn/blog.git
  2. Create a virtual environment in the project directory:

    cd blog
    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS/Linux:

      source venv/bin/activate
  4. Install project dependencies:

    pip install -r requirements.txt
  5. Customize configurations:

    • In config.py update the configurations according to your needs.

    • Alternatively, you can create a .env file in the project root and set the configurations there.

  6. Start the application using Gunicorn:

    gunicorn -w 4 -b 0.0.0.0:5000 wsgi:app

    Replace 4 with the desired number of workers, and 5000 with the desired port.

Usage

  • Open your web browser and navigate to http://127.0.0.1:5000 (or the port you specified) to access the blog application.

Contributing

Feel free to contribute to this project by submitting bug reports, feature requests, or pull requests. Please follow the contribution guidelines.

License

🥝Kiwi blog by Nikita Lupalo is licensed under CC BY-NC-SA 4.0