move brackets and rename launcher
This commit is contained in:
parent
710277abae
commit
cf66a0d0d0
@ -4,7 +4,7 @@ from flask_restful import Resource
|
||||
|
||||
from app.glob import get_config, get_manager
|
||||
from app.manager import infobase_data_blank
|
||||
from brackets import get_infobases as br_get_infobases
|
||||
from app.brackets import get_infobases as br_get_infobases
|
||||
|
||||
|
||||
def load_infobases(config) -> List[str]:
|
||||
|
2
run.sh
2
run.sh
@ -4,4 +4,4 @@ cd "$( dirname "$0" )" || exit
|
||||
|
||||
. venv/bin/activate
|
||||
|
||||
gunicorn --bind 0.0.0.0:18333 pub1c-rest:app
|
||||
gunicorn --bind 0.0.0.0:18333 run:app
|
||||
|
@ -43,7 +43,7 @@ def temp_config(tmpdir) -> str:
|
||||
@pytest.fixture
|
||||
def flask_app(temp_config) -> Flask:
|
||||
os.environ['WEBPUB1C_CONFIG'] = temp_config
|
||||
pub1c = importlib.import_module('pub1c-rest')
|
||||
pub1c = importlib.import_module('run')
|
||||
return pub1c.app
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user