mirror of
https://github.com/taroved/pol
synced 2025-05-15 13:50:09 -07:00
9 lines
248 B
Python
9 lines
248 B
Python
import sys
|
|
from pol.server import Server
|
|
from settings import DATABASES, SNAPSHOT_DIR, DOWNLOADER_USER_AGENT, DEBUG
|
|
|
|
|
|
port = sys.argv[1] if len(sys.argv) >= 2 else 1234
|
|
|
|
Server(port, DATABASES['default'], SNAPSHOT_DIR, DOWNLOADER_USER_AGENT).run()
|