How to setup runtime development environment

This guide outlines steps for setting up the runtime development environment for RAS.

  1. After the installation of RAS, initialize the server application by running the following command:

ras server init
RDI Server Init
  1. Build the Docker image for the server application by running the following command:

ras server build
RDI Server Build
  1. Start the dev environment by running the following command:

ras server dev

Using this command, the bash of the container will be opened. You can now interact with the container.

  1. Ro run the dev environment with root privileges, run the following command:

ras server dev -r
  1. If you want to install additional packages in the dev container and commit the changes to the docker image, run the following command:

ras server dev -c

This will start the container with root privileges and open the bash. You can now install the required packages, after that you can exit the container with exit command. The changes will be committed to the docker image.

Now you can push the docker image to the docker hub but if you want to restore the docker image to previous state, you can run the following command:

ras server init -i

How to check which Repositories has to update

In order to check which repositories have to update, run the following command:

ras server init

This will show the list of repositories that have to update.