Code-Server

What is Code-Server?

Code-Server is a Web-based IDE that simplifies project development. The SDK can run independently of the code-server, however the code-server requires the SDK to run.

How do I install the Code-Server?

Before beginning the Code-Server installation, ensure that the SDK is already installed.

  1. Download the Code-Server installer from the NSP downloads page on the Nokia Support portal.

  2. Open a console window and navigate to the folder where the Code-Server installer file is located. Depending on your OS, you may need to change the permissions for the installer file.

    For example, chmod +x mdmsdk-code-server-<version>.sh

  3. Run the downloaded Code-Server installer file.

    For example, ./mdmsdk-code-server-<version>.sh

How do I start the Code-Sever?

Navigate to the <sdk-installation-directory> directory and execute the command:

./code-server.sh start

The following prompt is displayed, if proxy is not set:

Web Proxy is not configured.

You can refer the SDK Installation guide for setting up Web proxy. Press enter to proceed, (press q to exit):

After pressing Enter, set up the proxy. This is a one-time activity; once set, you won't be prompted to set it up again on future Code-Server startups. For more information on setting up the proxy, see Web Proxy.

After setting up the proxy, Code-Server starts up.

Execute the following command to see the Code-Server status:

./code-server.sh logs

Working with the Code-Server

Refer to the SDK application's User guide and Troubleshooting guide for more information.

How do I stop the Code-Sever?

Navigate to the <sdk-installation-directory> directory and execute the command:

./code-server.sh stop