~sircmpwn/names.sr.ht

names.sr.ht/run.py -rwxr-xr-x 306 bytes
6ccb9e81Drew DeVault Build out final page of purchase flow 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3
from names.app import app
from srht.config import cfg, cfgi

import os

app.static_folder = os.path.join(os.getcwd(), "static")

if __name__ == '__main__':
    app.run(host=cfg("names.sr.ht", "debug-host"),
            port=cfgi("names.sr.ht", "debug-port"),
            debug=True)