Skip to content

mnichangxin/blog-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blog-server

Blog server, powered by python.

Notes: All environments depend on Python ^3.7.

📦 Install

    tools/install.sh

🔨 Usage

  • Dev:
    tools/start_dev.sh
  • Prod:
    tools/start_prod.sh

📝 Introduction

Flask is a lightweight WSGI web application framework. We are devolop micro-service based on Flask. The architecture of this micro-service is as follows:


├── blog-server/
|   ├── server/
|       ├── __init__.py
|       ├── config/
|       ├── libs/
|       │   ├── commands.py
|       │   ├── error.py
|       |   └── error_handler.py
|       ├── api/
|       │   ├── view/
|       |   └── internal/
|       ├── service/
|       |   └── post.py
|       ├── dao/
|       ├── model/
|       └── utils/
├── tools/
├── venv/
├── .flaskenv
└── requirements.txt

🔧 Configuration

The file .flaskenv mark as Flask environmental variable.

📝 Doc

The following API: