Skip to main content
Gå til innhold

Setup

Before you can develop applications for the PaaS, you must set up your development environment. You will need:

  • Git to manage source code.
  • Docker to build and run the develoment environmen locally.
  • Access to our GitLab installation at gitlab.sikt.no.

Git

Git is a version control system. We use Git to manage source code on our private GitLab site at gitlab.sikt.no.

See git-scm.com/downloads for installation instructions on various platforms.

Once Git is installed, you should be able to run git in a terminal and receive usage instructions:

$ git
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
[...]

Docker

Our PaaS runs applications in containers. Docker allows you to build and run locally.

See docs.docker.com/engine/install for installation instructions.

When you have installed Docker, you can test that it is working by launching the hello-world-container. Run docker run --rm -ti hello-world in a terminal. You should receive output similar to:

$ docker run --rm -ti hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
0e03bdcc26d7: Pull complete
Digest: sha256:31b9c7d48790f0d8c50ab433d9c3b7e17666d6993084c002c2ff1ca09b96391d
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.
[...]
info

If you get any Docker daemon permission errors, see the Manage Docker as a non-root user page.

GitLab access

See setting up SSH access.