BGP-Ranking/bin/start.py

21 lines
493 B
Python
Raw Normal View History

2018-03-29 22:37:28 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from subprocess import Popen
2018-03-30 14:33:33 +02:00
from bgpranking.libs.helpers import get_homedir
2018-03-29 22:37:28 +02:00
if __name__ == '__main__':
2018-03-30 14:33:33 +02:00
# Just fail if the env isn't set.
get_homedir()
2018-03-29 22:37:28 +02:00
p = Popen(['run_backend.py', '--start'])
p.wait()
Popen(['loadprefixes.py'])
Popen(['rislookup.py'])
Popen(['fetcher.py'])
Popen(['parser.py'])
Popen(['sanitizer.py'])
Popen(['dbinsert.py'])
Popen(['ranking.py'])
Popen(['asn_descriptions.py'])