Closed alexmojaki closed 4 years ago
2-3. Both the runestone components and the runestone server use templates. runestone build
uses sphinx which uses Jinja2 templates. The runestone server itself is built on web2py which has its own template system.
What are you getting at?
I thought that runestone serve
was the runestone server, and now I'm getting the impression that's not true.
I followed the instructions in the README which says to use runestone serve
which led to the error in the title. At the very least I think the README needs updating, but I'm not sure what to. Right now I have dynamic_pages = False
in pavement.py and I can see raw template code like {{ if request.application == 'runestone':}} {{ pass }}
in my browser. Surely that's not right?
The runestone serve
command is for doing development work when you are writing new materials, or if you just want to run a small server for a class of 20 or so students and you don’t care about the instructor interface or allowing the students to save code or keep track of their progress.
The RunestoneInteractive/RunestoneServer repository contains the server for people who want to run an installation like runestone.academy or even for a single class, but you want students to be able to login, save their work, do grading and make assignments as part of the textbook environment.
In either case, raw template code should not show up. So that is definitely a bug.
Just checking in on this issue - is it safe to close the ticket? It appears this issue thread was merged.
Thanks!
I get the above error when I build and serve this project, unless of course I set
dynamic_pages = False
in pavement.py.