Skip to content

Custom .py experiment files#34

Merged
GJFR merged 14 commits intoDistriNet:devfrom
szymsza:main
Oct 29, 2024
Merged

Custom .py experiment files#34
GJFR merged 14 commits intoDistriNet:devfrom
szymsza:main

Conversation

@szymsza
Copy link
Contributor

@szymsza szymsza commented Oct 23, 2024

  • I added an option to add a custom .py pages

  • For nginx to correctly proxy the requests, the pages' names have to start with py-. I tried proxying based on the content of the folder but could not figure out in over 2 hours how to do both file reading and proxying simultaneously in the nginx config.

  • The only issue I am aware of is that during execution, a __pycache__ folder gets created next to the index.py file which is annoying. I will look at preventing it later.

  • Besides this, I fixed code highlighting in the experiment editor

@GJFR GJFR self-requested a review October 28, 2024 10:18
@GJFR GJFR changed the base branch from main to dev October 28, 2024 15:35
@GJFR
Copy link
Member

GJFR commented Oct 28, 2024

Looks good! And thanks for fixing the code highlighting.

I'll look into a way to proxy requests without py-.

@szymsza szymsza marked this pull request as ready for review October 29, 2024 10:27
@GJFR GJFR merged commit bd0e23b into DistriNet:dev Oct 29, 2024
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

Successfully merging this pull request may close these issues.

2 participants