-
Access the devspace url (FIXME: url link)
-
Click on
Log in with OpenShift
button. -
Click on
my_htpasswd_provider
option. -
On the next screen, provide your Username and Password for login.
-
On the
Authorize Access
page, underRequested permissions
, mae sureuser:full
option is selected (ticked) and click onAllow selected permissions
button. -
Configure your
quay.io
credentials on the OpenShift Dev Spaces portal. -
Click your username on top right and click on
User Preferences
option.
-
On the
User Preferences
screen underContainer Registries
tab, click onAdd Container Registry
option. -
On the Add Container Registry pop-up provide details as below and the click on
Add
Button.
Registry: quay.io
Username: your quay.io login
Password: your quai.io login password
- Click on
Create Workspace
option on left pane. UnderImport from Git section, provide the Git repo URL for your training and click on
Create & Open` button.
NOTE: Make sure you have initialized your training content repository and committed the changes before using it in the devspace.
- Click on the search bar for Workspace on top and click on
Run Task
option, then clickdevfile
.
-
Click on
0-install
option and wait for it to finish. -
Repeat the earlier step to select devfile and click on
1-watch
option this time. -
Repeat the same steps and select
2-serve
option now. -
Pop-up will be displayed at the bottom of the screen.
-
Create
Open In New Tab
button. -
On the next pop-up message:
Do you want VS Code - Open Source to open the external website?
click onOpen
button. -
Rendered content will now be displayed in another tab.
-
You may continue with your content development in the
vscode
interface provided by devspace. -
When you save your changes in the content files in devspace interface, the changes will be reflected in the rendered content url as soon as you refresh the url.
FIXME: highlight the relevant area on images.
SEE ALSO