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

Registered a few books but I cannot see them when I try to create a course #621

Open
OctaneMv33 opened this issue Jan 7, 2025 · 3 comments

Comments

@OctaneMv33
Copy link

OctaneMv33 commented Jan 7, 2025

What Page were you on
I was on page '/designer'

What is your username
Just in case, 'testuser1', however I don't think it matters because is on a private webserver.

Describe the bug
Hello everyone.

I'm trying to set up a private webserver with Runestone. So far I have been able to do it and now it's working.

However, when I try to create a course I cannot see the books that I have registered on the server, hence I can't create courses because I get the message: "You must select a base course".

image

Javascript Errors
image

@bnmnetp
Copy link
Member

bnmnetp commented Jan 7, 2025

It sounds like you have not updated the library table to let the servers know that the books you added should be available "forclass"

❯ rsmanage library forclass --help
Loaded .env file
Checking for required production environment variables
You have defined docker compose specific environment variables
Using configuration: production
Using database: runestone
Checking database connection
postgresql+asyncpg://runestone:[email protected]/runestone
Database connection successful
Usage: rsmanage library forclass [OPTIONS] BOOK

  Show or hide the book in the course creation page

Options:
  --show / --hide  show the book in the custom course page
  --help           Show this message and exit.

@bnmnetp
Copy link
Member

bnmnetp commented Jan 7, 2025

@OctaneMv33
Copy link
Author

Thank you so much, I missed that part while I was reading the documentation

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

2 participants