# Course Setup

### Creating a New Course

1. **Log in to Moodle as an admin**
2. **Navigate to the Site Administration**:
3. **Click on courses**:
   * Under **Courses**, click on **Manage courses and categories**.
4. **Add a New Course Category** (Optional):
   * If you want to organize your courses into categories, click **Add a category**.
   * Enter the category name and other relevant details.
   * Click **Create category**.
5. **Create a New Course**:
   * Click on the **Create new course** button.
   * Fill in the course details:
     * **Course full name**: The complete name of the course.
     * **Course short name**: A shorter version of the course name.
     * **Course category**: Select the appropriate category.
     * **Course start date**: Set the start date for the course.
     * **Course end date** (optional): Set the end date for the course.
     * **Course ID number** (optional): A unique identifier for the course.
   * Configure other settings as needed (e.g., course summary, format, appearance, files, and uploads).
6. **Save and Display**:
   * Once all the information is entered, click on **Save and display** to create the course.

### Managing Courses

#### Course Settings

1. **Access Course Settings**:
   * Navigate to the course you want to manage.
   * Click on settings.
2. **Edit Course Settings**:
   * Modify the course name, description, and other details as needed.
   * Adjust the course format (Edwiser, weekly, topics, single activity, etc.).
   * Set the course visibility (hide/show) to control student access.
3. **Save Changes**:
   * After making the necessary changes, click **Save and display**.

### Enrolling Users

1. **Enroll Users**:
   * In the course, click on the **Participants** link.
   * Click on the **Enroll users** button.
2. **Select Users**:
   * Use the search box to find users by name or email.
   * Select the users you want to enroll.
3. **Assign Roles**:
   * Choose the appropriate role for each user (e.g., student, teacher, non-editing teacher).
   * Click **Enroll selected users and cohorts**.

### Adding Course Material

1. **Turn Editing On**:
   * In the course, click on edit mode toggle at the top right in the header.
2. **Add Resources and Activities**:
   * Click on the **Add an activity or resource** link in the desired section.
   * Choose from various options (e.g., file, page, URL, assignment, quiz, forum).
   * Fill in the required details and settings for the selected activity/resource.
3. **Save and Display**:
   * Click **Save and return to course** or **Save and display** to add the material to the course.

### Managing Course Material

1. **Edit Existing Activities**:
   * With editing turned on, click the **edit icon** (pencil) next to the activity/resource you want to modify.
   * Make the necessary changes and save.
2. **Reorder Activities**:
   * Drag and drop activities/resources to reorder them within the course sections.
3. **Delete Activities**:
   * Click the **edit icon** next to the activity/resource.
   * Select **Delete** and confirm the deletion.

### Tracking Progress

1. **Enable Completion Tracking**:
   * Go to the course settings and enable **Completion tracking**.
   * Configure completion settings for individual activities.
2. **Monitor Student Progress**:
   * Click on the **Reports** link in the navigation menu.
   * Select **Activity completion** or **Course completion** to view progress reports.

### Advanced Course Management

#### Backup and Restore

1. **Backup a Course**:
   * In the course, click on the **gear icon** (settings) and select **Backup**.
   * Follow the prompts to select the data to include in the backup.
   * Click **Perform backup** and download the backup file.
2. **Restore a Course**:
   * In the Site Administration, go to **Courses** > **Restore course**.
   * Upload the backup file and follow the prompts to restore the course.

#### Importing and Exporting Courses

1. **Import Course Data**:
   * In the course, click on the **gear icon** (settings) and select **Import**.
   * Choose the course from which you want to import data.
   * Follow the prompts to select and import the desired content.
2. **Export Course Data**:
   * Click on the **gear icon** (settings) and select **Backup**.
   * Follow the prompts to create a backup file, which can be used for exporting the course.

#### Course Reports

1. **Access Course Reports**:
   * In the course, click on the **Reports** link in the navigation menu.
2. **View Different Reports**:
   * **Activity report**: Overview of student activity.
   * **Course participation**: Detailed participation data.
   * **Logs**: Detailed logs of course activities.
   * **Grades**: Overview of student grades.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://remui-docs.edwiser.org/course-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
