lookyloo/bin/start.py

14 lines
323 B
Python
Raw Normal View History

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from subprocess import Popen
from lookyloo.helpers import get_homedir
if __name__ == '__main__':
# Just fail if the env isn't set.
get_homedir()
p = Popen(['run_backend.py', '--start'])
p.wait()
2019-01-30 14:30:01 +01:00
Popen(['async_scrape.py'])
Popen(['start_website.py'])