Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the flask in SMC example is badly broken: #97

Closed
williamstein opened this issue Sep 2, 2015 · 1 comment
Closed

the flask in SMC example is badly broken: #97

williamstein opened this issue Sep 2, 2015 · 1 comment

Comments

@williamstein
Copy link
Contributor

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://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2015-09-02-090517-webserver/

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

@williamstein
Copy link
Contributor Author

moved to sagemathinc/cocalc-example-files#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant