lscalese / objectscript-syntax-for-gitlab

This is a repository to test the status of [rouge for objectscript](https://github.com/lscalese/rouge/tree/objectscript)
MIT License
1 stars 0 forks source link

License: MIT

ObjectScript syntax for GitLab

GitLab provides syntax highlighting on all files through the Rouge Ruby gem. It attempts to guess what language to use based on the file extension, which most of the time is sufficient.

This a repository to test easily the current status of rouge project fork to support ObjectScript syntax.
It allows to have Ruby environment on docker ready for testing.

For more information the community article is available here.

Installation

Clone/git pull the repo into any local directory

git clone https://github.com/lscalese/objectscript-syntax-for-gitlab.git

Open the terminal in this directory and call the command to build and run InterSystems IRIS in container:

docker-compose build --no-cache
docker-compose up -d

How to test

Open http://localhost:9592/objectscript to show the test page with an ObjectScript class sample.

You can put your own objectscript class by a simple copy/paste using this page : http://localhost:9692/csp/irisapp/lscalese.objectscript4gitlab.test.cls. Click submit and the highlighted code will be open in a new page.
Click reset to restore the default test page. The login\password of the web application is the default _system \ SYS credential.