mirror of
https://github.com/taroved/pol
synced 2025-05-15 22:00:08 -07:00
9 lines
255 B
Python
9 lines
255 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, None, SNAPSHOT_DIR, DOWNLOADER_USER_AGENT).run() # DATABASES['default']
|