Skip to content

flask example might not work (?) #14

@williamstein

Description

@williamstein

Moved from sagemathinc/cocalc#97

Please help me to understand why the following example doesn't work:
https://github.com/sagemath/cloud-examples/blob/master/webservice/main.py

Wow, that's broken in many ways, due to it being written years ago and
a lot changing since then. I've rewritten it just now so it works:

https://share.cocalc.com/share/df81e09e5b8f16f28b3a2e818dcdd4560e7818ae/support/2015-09-02-090517-webserver/?viewer=share

You should easily be able to use the above to get going with flask
development. Note that you have to prepend that "base_url" thing
before each url route. There's probably a proper way to do this with

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