Closed ynnelson closed 3 years ago
Hi @ynnelson,
did you get this to work?
Hey I'm issue triaging this repo. I believe this is at this point a stale question without a clear action point of something to do within this specific github repo.
If someone ends up here with similar questions, I suggest using discourse.jupyter.org as a place to ask it! Thanks for being active members of the JupyterHub community!
So I have been trying to get JupyterHub Simple Announcement Service to work all morning and I can quite seem to figure it out. I try to follow the link below but still can't get it to work. https://github.com/jupyterhub/jupyterhub/tree/master/examples/service-announcement
This is what I did:
In the same folder where my config.yaml file is I added a jupyterhub_config.d folder in which I added a .py file that has the following:
I added a templates folder in the same folder as config.yaml in which I have a page.html that contains the following:
I created services/announcement/ folders in which I have the announcement.py file
I created an API token with my Control Panel and used it with 6. below
Used
tljh-config reload
to restart JupyterhubI then tried this without success:
Any Idea what I am doing wrong here? Has anyone gotten this to work or attempted it ? Nothing ends up being posted on the Hub!
I have also tried to add a custom button in the nav bar that would link to our internal documentation but I can't get the Jinja templates to work. (I have no experience with Jinja which def does not help)
If I can get it to work I'd love to make add a Topic documentation to this project, I feel like this would be very useful!
Thank you