Skip to content

Document running your own web app instance #7

@sneumann

Description

@sneumann

Is your feature request related to a problem? Please describe.
I would like to run a local web app instance, because the public one has issues, e.g. #6
There seems to be work going on in the tree https://github.com/ElixirTeSS/bioschemas-validator/tree/web/

Describe the solution you'd like
Please add a section to README.md describing the call to run your own web instance.
I tried e.g. python ./website.py or gunicorn website:app

While the above does start a local webserver, it fails to find setup.js nor the ./static/stylesheet.css
and the web app does not look nice nor work, so I am missing something.

Yours, Steffen

python ./website.py 
 * Serving Flask app 'website' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 806-193-309
127.0.0.1 - - [03/Oct/2022 14:09:52] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [03/Oct/2022 14:09:52] "GET /libs/bioschemas/setup.js HTTP/1.1" 404 -
127.0.0.1 - - [03/Oct/2022 14:09:52] "GET /stylesheet.css HTTP/1.1" 404 -
127.0.0.1 - - [03/Oct/2022 14:09:52] "GET /favicon.ico HTTP/1.1" 404 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions