Sign inSign up

litesolutions/objectscriptquality

By litesolutions

•Updated 4 months ago

Image
0

2.3K

litesolutions/objectscriptquality repository overview

⁠SonarQube with ObejctScriptQuality

ObjectScriptQuality⁠ is a static source code analyzer for ObjectScript, whose customizable rules help improve both software management process and code quality.

⁠Basic start

Simple run with docker. Uses an internal database, for evaluation purposes.

docker run -d --name objectscriptquality
  -p 9000:9000
  -p 9092:9092
  litesolutions/objectscriptquality

⁠Advanced start

Docker-compose example configuration, with Postgres and volumes in the current directory, to store configuration between restarts.

version: '3'
services:
  sonarqube:
    build: .
    image: litesolutions/objectscriptquality
    depends_on: 
      postgres:
        condition: service_healthy
    ports:
      - 9000:9000
      - 9092:9092
    environment:
      SONAR_JDBC_USERNAME : sonar
      SONAR_JDBC_PASSWORD: sonar
      SONAR_JDBC_URL : jdbc:postgresql://postgres:5432/sonar
    volumes:
      - ./sonarqube:/opt/sonarqube/data
  postgres:
    image: postgres:latest
    environment:
      POSTGRES_USER: sonar
      POSTGRES_PASSWORD: sonar
      POSTGRES_DB: sonar
    volumes:
      - ./postgres:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
      interval: 10s
      timeout: 5s
      retries: 5

⁠Licensing

To activate this plugin you have to get a Server ID. Login to your SonarQube installation. If it is the first time you log in, remember the default user is 'admin' and the default password is 'admin'. For security reasons, ensure to change the default credentials. Go to Administration > System.

Send an email with the following information to [email protected]⁠:

Organization:
Server ID:
Environment: evaluation / production

We will generate a license before 24 hours and will notify you by email. No more action is required on your side to get the license working.

Tag summary

Content type

Image

Digest

sha256:c699e16eb…

Size

985 MB

Last updated

9 months ago

docker pull litesolutions/objectscriptquality