Skip to main content

Windows onboarding document

  1. Make sure tickets are set up for your user-accounts
    1. @dnb.no account is for most accesses, mail and such
    2. @tech-01 is for gproxy, aws, guacamole and similar.
      1. Use #aws-help Slack channel for help
    3. Guacamole will be sent by email with link to encrypted site that has your password
    4. Be part of security access group "Prg-DevCloudAccess", make a ticket.
  2. Set up PC
    1. Make sure that settings for encryption is done correctly by service first
    2. Log on to Enrollment LM when setting up
    3. Go to company portal -> settings -> press sync
      1. If it does not show up, do windows update and restart.
    4. Run windows update multiple times if you are not on windows 11
  3. Most of all accounts and apps can be found at My Apps (microsoft.com)
    1. Both with DnB and tech-01 login
  4. Set up Outlook, Slack and Teams for easy access to information.
  5. Install WSL
    1. This is where everything will be running.
  6. GitProxy
    1. Download the file from the GitLab project linked above.
    2. On windows: place file in c:/Users/USERNAME/bin
    3. Add to $PATHS env variable in os if missing
    4. Request access in #gitproxy channel for tech-01 account
    5. Run the commands for gproxy2 (gproxy2 --help for commands)
    6. Use tech-01 when doing login.
  7. Monorepo front-end
    1. Install node for the repo
      1. Install nvm on WSL
        1. Install node based on .nvmrc in the monorepo
      2. OR Volta may be useful for handling Node versions.
    2. Enable corepack
    3. Eslint and Prettier
    4. Set up SSH to gitlab, careful that its the right type of encryption
      1. ssh-keygen -t ed25519 -C <email>@dnb.no
      2. chmod 600 KEY_NAME
      3. eval "$(ssh-agent -s)"
      4. ssh-add ~/.ssh/KEY_NAME
    5. clone repo in a WSL folder, example: ~/projects
    6. run ./devconfig.mjs script
    7. run yarn to install packages
      1. You need access to Nexus or SonarQube over gitproxy then make sure hosts file entries are made to resolve these tool's domain names to localhost, which will then route traffic over the SSH tunnel.
        1. Append to the hosts file C:\Windows\System32\drivers\etc\hosts in Windows
        2. 127.0.0.1 sonar.tech.dnb.no nexus.tech.dnb.no
      2. First time: Login to nexus using Guacamole login
      3. Nexus login is the same as CCOE/Guacamole.
    8. Make sure husky runs when commiting