Skip to content

gilsdav/op-codespace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OP Codespace

On premise codespaces.

Extension of Rio

Config file

You can add a file into the root of your git repository to configure your IDE environment. You can install VSCode extensions and add sequence of scripts to execute at initialisation.

Create a file named op-codespace.json at the root of your repository.

Example of op-codespace.json:

{
    "extensions": [
        "doggy8088.angular-extension-pack",
        "njpwerner.autodocstring"
    ],
    "scripts": [
        "sudo apt-get install -y --no-install-recommends wget",
        "wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && sudo dpkg -i packages-microsoft-prod.deb",
        "sudo add-apt-repository universe",
        "sudo apt-get update",
        "sudo apt-get install -y apt-transport-https",
        "sudo apt-get update",
        "sudo apt-get install -y dotnet-sdk-3.1"
    ]
}

API

  • List: /api/codespace
  • Create: /api/codespace/create?password=12345&github=https://github.com/gilsdav/sail-hub.git&name=sail-hub
  • Delete: /api/codespace/delete?name=sail-hub

Interface

Home

home

Create

create

VS-Code

vs-code