Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38668fa

Browse files
committed
Replaced the SSL certs with new 10 year certs. PLease note the domain for the local env changes from *.ltitraining.net to *.1edtech.me
1 parent 0003871 commit 38668fa

19 files changed

+439
-136
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Before starting the workshop, please ensure you have the following installed:
1818
- **Docker Desktop** ([Download here](https://www.docker.com/products/docker-desktop))
1919
- **A code editor** (We recommend [VS Code](https://code.visualstudio.com/))
2020

21-
You will also need **administrator access** to update your machine's `hosts` file to map the domains `platform.ltitraining.net` and `tool.ltitraining.net` to your local development environment.
21+
You will also need **administrator access** to update your machine's `hosts` file to map the domains `platform.1edtech.me` and `tool.1edtech.me` to your local development environment.
2222

2323
Python is provided within the Docker environment, so there is no need to install specific versions of Python to get the application running.
2424

activities/configs/registrations.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"https://platform.ltitraining.net": [{
2+
"https://platform.1edtech.me": [{
33
"default": true,
44
"client_id": "A0nV6vmNFAGLtdU",
5-
"auth_login_url": "https://platform.ltitraining.net/mod/lti/auth.php",
6-
"auth_token_url": "https://platform.ltitraining.net/mod/lti/token.php",
5+
"auth_login_url": "https://platform.1edtech.me/mod/lti/auth.php",
6+
"auth_token_url": "https://platform.1edtech.me/mod/lti/token.php",
77
"auth_audience": null,
8-
"key_set_url": "https://platform.ltitraining.net/mod/lti/certs.php",
8+
"key_set_url": "https://platform.1edtech.me/mod/lti/certs.php",
99
"key_set": null,
1010
"private_key_file": "private.key",
1111
"public_key_file": "public.key",

docs/activity0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ VS Code supports extensions for both Python and Node.js development, making it a
5656

5757
## **3. Administrator Access to Update Hosts File**
5858

59-
You will need administrator access to modify the `hosts` file on your machine. This is necessary to map the workshop domains (`platform.ltitraining.net` and `tool.ltitraining.net`) to your local environment.
59+
You will need administrator access to modify the `hosts` file on your machine. This is necessary to map the workshop domains (`platform.1edtech.me` and `tool.1edtech.me`) to your local environment.
6060

6161
- **On macOS**: You can modify the `hosts` file by opening the terminal and running:
6262

@@ -73,8 +73,8 @@ C:\Windows\System32\drivers\etc\hosts
7373
Make sure to add the following lines to the `hosts` file:
7474

7575
```
76-
127.0.0.1 platform.ltitraining.net
77-
127.0.0.1 tool.ltitraining.net
76+
127.0.0.1 platform.1edtech.me
77+
127.0.0.1 tool.1edtech.me
7878
```
7979

8080
On some versions of MacOS the change may not be immediate. You can flush the dns to force the change to take place;

docs/activity1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ cd environment
4141

4242
In this setup, we will use 2 real domains with real (browser-trusted) SSL certificates. We will configure the routing on your PC to route these domains locally within your machine. This allows us to focus on LTI development without the complexities of browser security getting in the way.
4343

44-
To ensure that the domains `platform.ltitraining.net` and `tool.ltitraining.net` resolve to your local environment, you need to update your local `/etc/hosts` file.
44+
To ensure that the domains `platform.1edtech.me` and `tool.1edtech.me` resolve to your local environment, you need to update your local `/etc/hosts` file.
4545

4646
##### **On macOS/Linux**:
4747
1. Open the `/etc/hosts` file in your text editor with administrator privileges:
@@ -53,7 +53,7 @@ To ensure that the domains `platform.ltitraining.net` and `tool.ltitraining.net`
5353
2. Add the following lines to the file:
5454

5555
```bash
56-
127.0.0.1 platform.ltitraining.net tool.ltitraining.net
56+
127.0.0.1 platform.1edtech.me tool.1edtech.me
5757
```
5858

5959
3. Save and close the file.
@@ -64,7 +64,7 @@ To ensure that the domains `platform.ltitraining.net` and `tool.ltitraining.net`
6464
3. Add the following lines at the end of the file:
6565

6666
```bash
67-
127.0.0.1 platform.ltitraining.net tool.ltitraining.net
67+
127.0.0.1 platform.1edtech.me tool.1edtech.me
6868
```
6969

7070
4. Save and close the file.
@@ -101,7 +101,7 @@ To verify that everything is running correctly, complete the checks the [Checkli
101101

102102
Look for any error messages that indicate issues with the configuration or missing dependencies.
103103

104-
- **Cannot access platform.ltitraining.net**: Ensure that the `/etc/hosts` file is correctly set to resolve `platform.ltitraining.net` and `tool.ltitraining.net` to `127.0.0.1`.
104+
- **Cannot access platform.1edtech.me**: Ensure that the `/etc/hosts` file is correctly set to resolve `platform.1edtech.me` and `tool.1edtech.me` to `127.0.0.1`.
105105

106106
- **SSL issues**: If you run into SSL certificate issues, ensure that the certificates in the `certs/` folder are correctly mapped in the `nginx.conf` file.
107107

@@ -114,6 +114,6 @@ To understand how to start, stop, reset, clean up, details are outlined in the
114114
---
115115

116116
### **Activity Summary:**
117-
You have now cloned the repository, updated your hosts file, started the Docker environment, and accessed Moodle via the `platform.ltitraining.net` domain. You are ready to move on to the next activity, where you will configure the Moodle LTI tool and begin developing.
117+
You have now cloned the repository, updated your hosts file, started the Docker environment, and accessed Moodle via the `platform.1edtech.me` domain. You are ready to move on to the next activity, where you will configure the Moodle LTI tool and begin developing.
118118

119119

docs/activity2.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Please ensure you have completed:
1414

1515
#### 1. **Log in to Moodle**
1616

17-
Access Moodle at `https://platform.ltitraining.net`. Use the following default login credentials:
17+
Access Moodle at `https://platform.1edtech.me`. Use the following default login credentials:
1818

1919
- **Username**: user
2020
- **Password**: _B00tcamp
@@ -25,15 +25,15 @@ Feel free to change your password in your user profile if needed.
2525

2626
By default, Moodle blocks HTTP calls to local IP addresses. While this is important in production environments, it can disrupt connectivity in a local Docker setup. Here’s how to adjust this setting:
2727

28-
1. Navigate to **Site Administration** ➡️ **General** ➡️ **Security** ➡️ **HTTP Security** or use this direct link: [HTTP Security](https://platform.ltitraining.net/admin/settings.php?section=httpsecurity).
28+
1. Navigate to **Site Administration** ➡️ **General** ➡️ **Security** ➡️ **HTTP Security** or use this direct link: [HTTP Security](https://platform.1edtech.me/admin/settings.php?section=httpsecurity).
2929
2. Locate the **cURL blocked hosts list** field and clear any listed addresses.
3030
3. Press **Save changes**.
3131

3232
#### 3. **Upload Users**
3333

3434
To test your tool with multiple users, you’ll need to upload a list of sample users:
3535

36-
1. Navigate to **Site Administration** ➡️ **Users [tab]** ➡️ **Accounts** ➡️ **Upload Users** or use this direct link: [Upload Users](https://platform.ltitraining.net/admin/tool/uploaduser/index.php).
36+
1. Navigate to **Site Administration** ➡️ **Users [tab]** ➡️ **Accounts** ➡️ **Upload Users** or use this direct link: [Upload Users](https://platform.1edtech.me/admin/tool/uploaduser/index.php).
3737
2. Upload the sample user list from `./environment/data/accounts.csv`.
3838
3. Moodle will display a preview of the records. In the **New user password** field, select **Field required in file**.
3939
4. Confirm the upload by pressing the **Upload Users** button.
@@ -52,7 +52,7 @@ You can now log in to Moodle using any of the test student or instructor account
5252

5353
To proceed with testing, you’ll need to create a course:
5454

55-
1. In the top navigation bar, click on **My Courses** or use this direct link: [My Courses](https://platform.ltitraining.net/my/courses.php).
55+
1. In the top navigation bar, click on **My Courses** or use this direct link: [My Courses](https://platform.1edtech.me/my/courses.php).
5656
2. Click **Create Course**.
5757
3. Fill out the following details:
5858
- **Course full name**: Bootcamp

docs/activity3.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Please ensure you have completed:
1313

1414
#### 1. **Access the External Tool Settings**
1515

16-
1. Navigate to **Site Administration** ➡️ **Plugins** ➡️ **Activity modules** ➡️ **External tool** or use this direct link: [External Tool Configuration](https://platform.ltitraining.net/mod/lti/toolconfigure.php).
16+
1. Navigate to **Site Administration** ➡️ **Plugins** ➡️ **Activity modules** ➡️ **External tool** or use this direct link: [External Tool Configuration](https://platform.1edtech.me/mod/lti/toolconfigure.php).
1717
2. Click on **Manage tools** at the top of the page.
1818

1919
#### 2. **Add a New LTI Tool**
@@ -24,17 +24,17 @@ Please ensure you have completed:
2424
2. Fill out the following details:
2525

2626
- **Tool name**: Choose a name that reflects the purpose of your tool (e.g., "MY TOOL").
27-
- **Tool URL**: Enter the URL of your LTI 1.3 tool (e.g., `https://tool.ltitraining.net`).
27+
- **Tool URL**: Enter the URL of your LTI 1.3 tool (e.g., `https://tool.1edtech.me`).
2828
- **LTI version**: Select **LTI 1.3**.
2929

3030
3. In the **Public keyset URL** field, enter the JWKS URL of your tool. Example:
31-
`https://tool.ltitraining.net/jwks/`.
31+
`https://tool.1edtech.me/jwks/`.
3232

3333
4. Under **Initiate login URL**, enter the login initiation endpoint of your tool. Example:
34-
`https://tool.ltitraining.net/login/`.
34+
`https://tool.1edtech.me/login/`.
3535

3636
5. In the **Redirection URI(s)** field, provide the redirect URL used by your tool to handle successful launches. Example:
37-
`https://tool.ltitraining.net/launch/`.
37+
`https://tool.1edtech.me/launch/`.
3838

3939
6. Set **Tool configuration usage** to
4040

@@ -46,7 +46,7 @@ Please ensure you have completed:
4646
(this ensures the tool launches within Moodle without external redirection).
4747

4848
8. For **Content Selection URL**, enter
49-
`https://tool.ltitraining.net/deeplink/`.
49+
`https://tool.1edtech.me/deeplink/`.
5050

5151
Also enable `Supports Deeplinking`
5252

docs/checklist.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ If the containers are not running, use `docker-compose up` to start them.
3535
From a terminal console, test you should be able to ping the platform and tool environments;
3636

3737
```
38-
ping tool.ltitraining.net
38+
ping tool.1edtech.me
3939
```
4040

4141
```
42-
ping platform.ltitraining.net
42+
ping platform.1edtech.me
4343
```
4444

4545
You should see successful replies coming from both environments
@@ -51,12 +51,12 @@ You should see successful replies coming from both environments
5151
2. Navigate to the following URL:
5252

5353
```
54-
https://tool.ltitraining.net
54+
https://tool.1edtech.me
5555
```
5656

5757
![Congratulations](images/congratulationsMsg.png)
5858

59-
You should see a success message from the Flask Application page. If the page doesn’t load, double-check that the containers are running, and ensure that your `/etc/hosts` file is correctly configured to resolve `tool.ltitraining.net` to `127.0.0.1`.
59+
You should see a success message from the Flask Application page. If the page doesn’t load, double-check that the containers are running, and ensure that your `/etc/hosts` file is correctly configured to resolve `tool.1edtech.me` to `127.0.0.1`.
6060

6161

6262
---
@@ -67,10 +67,10 @@ You should see a success message from the Flask Application page. If the page do
6767
2. Navigate to the following URL:
6868

6969
```
70-
https://platform.ltitraining.net
70+
https://platform.1edtech.me
7171
```
7272

73-
You should see the Moodle login page. If the page doesn’t load, double-check that the containers are running, and ensure that your `/etc/hosts` file is correctly configured to resolve `platform.ltitraining.net` to `127.0.0.1`.
73+
You should see the Moodle login page. If the page doesn’t load, double-check that the containers are running, and ensure that your `/etc/hosts` file is correctly configured to resolve `platform.1edtech.me` to `127.0.0.1`.
7474

7575

7676
---
@@ -79,7 +79,7 @@ You should see the Moodle login page. If the page doesn’t load, double-check t
7979
## **Summary of Quick Tests**:
8080
- **Test 1**: Check Docker container status.
8181
- **Test 3**: Ping the platform and tool environments
82-
- **Test 3**: Access Test Application via `https://tool.ltitraining.net`.
83-
- **Test 4**: Access Moodle via `https://platform.ltitraining.net`.
82+
- **Test 3**: Access Test Application via `https://tool.1edtech.me`.
83+
- **Test 4**: Access Moodle via `https://platform.1edtech.me`.
8484

8585
Running through these tests will ensure that everything is correctly set up and functioning for the workshop.

docs/common_tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This will stop the containers and delete the associated volumes, meaning any per
4646

4747
### **Updating the Hosts File**
4848

49-
To ensure the domains `platform.ltitraining.net` and `tool.ltitraining.net` resolve to your local environment, make sure your `/etc/hosts` file is updated.
49+
To ensure the domains `platform.1edtech.me` and `tool.1edtech.me` resolve to your local environment, make sure your `/etc/hosts` file is updated.
5050

5151
#### **On macOS/Linux**:
5252
Open the `/etc/hosts` file in a text editor with administrator privileges:
@@ -101,7 +101,7 @@ If you want to completely reset the environment, including removing any persiste
101101
docker-compose down --volumes
102102
```
103103

104-
3. **Update or clean the hosts file** (if necessary) to remove any entries related to `platform.ltitraining.net` and `tool.ltitraining.net`.
104+
3. **Update or clean the hosts file** (if necessary) to remove any entries related to `platform.1edtech.me` and `tool.1edtech.me`.
105105

106106
---
107107

docs/images/LTIBootcampPython.drawio

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
<mxCell id="LF_B3fCJAD1g6fdAmxXm-35" value="" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;strokeColor=#B3B3B3;" vertex="1" parent="1">
8181
<mxGeometry x="500" y="556" width="240" height="60" as="geometry" />
8282
</mxCell>
83-
<mxCell id="LF_B3fCJAD1g6fdAmxXm-19" value="https://platform.ltitraining.net" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontColor=#81b365;" vertex="1" parent="1">
83+
<mxCell id="LF_B3fCJAD1g6fdAmxXm-19" value="https://platform.1edtech.me" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontColor=#81b365;" vertex="1" parent="1">
8484
<mxGeometry x="595" y="557" width="60" height="30" as="geometry" />
8585
</mxCell>
86-
<mxCell id="LF_B3fCJAD1g6fdAmxXm-20" value="&lt;font style=&quot;font-size: 16px;&quot;&gt;https://tool.ltitraining.net&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#6c8ebf;" vertex="1" parent="1">
86+
<mxCell id="LF_B3fCJAD1g6fdAmxXm-20" value="&lt;font style=&quot;font-size: 16px;&quot;&gt;https://tool.1edtech.me&lt;/font&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#6c8ebf;" vertex="1" parent="1">
8787
<mxGeometry x="579" y="580" width="60" height="30" as="geometry" />
8888
</mxCell>
8989
<mxCell id="LF_B3fCJAD1g6fdAmxXm-39" value="" style="endArrow=classic;startArrow=classic;html=1;curved=1;exitX=1;exitY=1;exitDx=0;exitDy=0;dashed=1;dashPattern=1 2;fillColor=#ffe6cc;strokeColor=#d79b00;strokeWidth=2;" edge="1" parent="1">

docs/images/platformReg1.png

-1.71 KB
Loading

0 commit comments

Comments
 (0)