rewrite: More restructuring.
This commit is contained in:
14
scripts/start_analytics.py
Executable file
14
scripts/start_analytics.py
Executable file
@@ -0,0 +1,14 @@
|
||||
# !/bin/python3
|
||||
|
||||
import sys
|
||||
import os
|
||||
import asyncio
|
||||
|
||||
sys.path.insert(0, os.path.join(os.getcwd()))
|
||||
sys.path.insert(0, os.path.join(os.getcwd(), "src"))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from analytics.server import AnalyticsServer
|
||||
server = AnalyticsServer()
|
||||
asyncio.run(server.run())
|
||||
Reference in New Issue
Block a user