Commit ab6eb154 authored by Romain Guillot's avatar Romain Guillot

Move import to main runserver

parent 061b2f74
......@@ -93,5 +93,3 @@ dbManager = DatabaseManager()
import SmartRecruiting_BackEnd.api.routes
import SmartRecruiting_BackEnd.data
import SmartRecruiting_BackEnd.deeplearning.preprocess
......@@ -4,11 +4,9 @@
This script runs the SmartRecruiting_BackEnd application using a development server.
"""
from os import environ
from SmartRecruiting_BackEnd import app
if __name__ == '__main__':
from SmartRecruiting_BackEnd import app
HOST = environ.get('SERVER_HOST', 'localhost')
try:
PORT = int(environ.get('SERVER_PORT', '5555'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment