# Environment Setup

To develop Salus, you will need to install Ruby and the relevant dependencies. Both Ruby gems and system dependencies are required depending on the scanners that are being executed.

# Install dependencies


# Install gems

Install gems
gem install bundler
bundle install

# Install docker

Docker is available on different operating systems. You can install the appropriate version for your operating system on the Docker website

Docker website

Installing Docker with Homebrew
brew install docker

Install Docker for Windows

Install Docker for Linux


# Running tests

If all installation was successful, you can run the test with rspec.

bundle exec rspec spec

There are also integration tests that check that the Salus container has all necessary dependencies installed in its container.

docker build -t salus-local .
docker build -f Dockerfile.tests -t salus-integration-tests .
docker run salus-integration-tests