Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/run.py
blob: f955c6a3d3a2150bbdb41f81f8884a9f4a36ad17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# python import
import sys
# add lib path to current python path
sys.path.append('lib')

# import server first
from server import Server

# nutriweb import
from nutriweb.controllers import app

# simple server entry point
if __name__ == "__main__":
    # init the server
    Server()
    # while ....
    while True:
        continue