2019-01-29 18:37:13 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from subprocess import Popen
|
|
|
|
from lookyloo.helpers import get_homedir
|
|
|
|
|
2020-10-03 21:19:43 +02:00
|
|
|
|
|
|
|
def main():
|
2019-01-29 18:37:13 +01:00
|
|
|
# Just fail if the env isn't set.
|
|
|
|
get_homedir()
|
2020-10-03 21:19:43 +02:00
|
|
|
p = Popen(['run_backend', '--start'])
|
2019-01-29 18:37:13 +01:00
|
|
|
p.wait()
|
2020-10-03 21:19:43 +02:00
|
|
|
Popen(['async_scrape'])
|
|
|
|
Popen(['start_website'])
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|