Working with flask static files

katie.shakman
katie.shakman Administrator, Domino Posts: 257 admin

In Domino versions with Jupyter Server Proxy, you can debug your apps (including flask apps) inside an interactive workspace. (For more info see https://docs.dominodatalab.com/en/4.1/reference/workspaces/Accessing_multiple_hosted_applications_in_one_Workspace_session.html) If you're doing this and working with css or js files in flask, note that flask expects these files to be in a particular `static` directory (flaskr/static). Here are the relevant docs: 

https://flask.palletsprojects.com/en/1.1.x/tutorial/static/


Also relevant if you're developing or debugging flask apps in Domino:

https://community.dominodatalab.com/discussion/comment/188

Katie

Field Data Scientist @ Domino

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!