SlapOS Home SlapOS

    HowTo Prepare For The Deployment of Software on Theia

    How To Prepare For The Deployment of Software on Theia
    • Last Update:2021-08-31
    • Version:001
    • Language:en

    Agenda

    1. Prerequisite
    2. Access Theia
    3. Locate Software Directory

    We’ll show how to prepare for deploying a software (html5as-base for example) on a Theia Runner in this presentation. 

    We will clarify the prerequisite in order to start the presentation. Then, we progress to show the steps to be prepared for the deployment on Theia.

    Prerequisite 

    To start deploying a software release, a Theia Runner is required.

    You can follow the preview tutorial: HowTo Request A Theia Runner to have your SlapOS Theia IDE. Once you have it with a validated URL, a login and a password, you shall start this tutorial without problems.

    Access Theia

    Locate the connection parameter on your Theia service. You can access the Theia using the url and logging in with username and password.
    After logging in, you will see the platform of Theia, which is very similar to VS Code, if you want to become a power user, a large part of https://code.visualstudio.com/docs/ applies (for example that section on editing with multi cursor)

    Access Theia - Tips

    Avoid closing Slapos Theia with ctrl + w

    Access Theia - Tips

    you can open in its own window. So that Ctrl+w does not close the browser tab.
    All commands are available from command palette which comes with can be opened with F1.

    Locate Software Directory

    Once access Theia, you are able to locate the Software directory which contains a list of all software releases available in Theia. The list is based on the official SlapOS software repository. From there you can open a file. You can also use Ctrl+P and start typing a filename. As we are going to deploy html5as-base, let’s locate the software configuration (software.cfg) of html5as-base.

    Tips: 

    • The computer is named “slaprunner”

    • Terminal uses bash by default