You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

473 B

Introduction

uWSGI

You can run it with python ./main.py or uwsgi --ini uwsgi.ini

Requirements

pip install uwsgi

Config

--- file: uwsgi.ini ---

[uwsgi]
# Set the IP and Port.
http = 0.0.0.0:8092

# **Importance**: Need rewrite the value of chdir key
chdir = /root/SUSTechPOINTS

module = main:application
master = true
buffer-size = 65536
processes = 4
threads = 2

Run

uwsgi --ini uwsgi.ini