Commit 32846c39 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Moved app_fastapi to app.

parent aa321ca9
......@@ -123,12 +123,12 @@ COPY --from=build /install/docs/.build /app/docs/.build
COPY --from=build /usr/local/bin/nomad /usr/bin/nomad
# copy the gui
RUN mkdir -p /app/gui
COPY --from=gui_build /app/build /app/nomad/app_fastapi/flask/static/gui
COPY --from=gui_build /app/build /app/nomad/app/flask/static/gui
# copy the encyclopedia gui production code
COPY --from=gui_build /encyclopedia /app/nomad/app_fastapi/flask/static/encyclopedia
COPY --from=gui_build /encyclopedia /app/nomad/app/flask/static/encyclopedia
# remove the developer config on the gui, will be generated by from nomad.yaml
RUN rm -f /app/nomad/app_fastapi/flask/static/gui/env.js
RUN rm -f /app/nomad/app_fastapi/flask/static/encyclopedia/conf.js
RUN rm -f /app/nomad/app/flask/static/gui/env.js
RUN rm -f /app/nomad/app/flask/static/encyclopedia/conf.js
# build the python package dist
RUN python compile
RUN python sdist
......@@ -11,7 +11,7 @@ consult our *swagger* dashboards:
.. qrefflask:: nomad.app_fastapi.flask:app
.. qrefflask::
......@@ -19,5 +19,5 @@ Summary
API(s) Details
.. autoflask:: nomad.app_fastapi.flask:app
.. autoflask::
......@@ -21,11 +21,11 @@ The official NOMAD API.
There is a separate documentation for the API endpoints from a client perspective.
.. automodule:: nomad.app_fastapi.flask.api.api
.. automodule:: nomad.app_fastapi.flask.api.auth
.. automodule:: nomad.app_fastapi.flask.api.upload
.. automodule:: nomad.app_fastapi.flask.api.repo
.. automodule:: nomad.app_fastapi.flask.api.archive
.. automodule::
.. automodule::
.. automodule::
.. automodule::
.. automodule::
from .api import api, blueprint
......@@ -35,7 +35,7 @@ import gzip
from functools import wraps
from nomad import search, config, datamodel, utils
from nomad.app_fastapi.optimade import filterparser
from import filterparser
from nomad.files import Restricted
from ..common import RFC3339DateTime, rfc3339DateTime
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment