Part 1 - Create application¶
This tutorial will take you through the process of getting a simple application up and running on NAIS.
Prerequisites¶
- You have a GitHub account connected to your GitHub organization (e.g.
navikt
) - naisdevice installed
- Member of a NAIS team
- GitHub CLI installed
Conventions
Throughout this guide, we will use the following conventions:
<MY-APP>
- The name of your NAIS application (e.g.joannas-first
)<MY-TEAM>
- The name of your NAIS team (e.g.onboarding
)<GITHUB-ORG>
- Your GitHub organization (e.g.navikt
)<MY-ENV>
- The name of the environment you want to deploy to (e.g.dev
)
NB! Choose names with lowercase letters, numbers and dashes only.
1. Create your own GitHub repository¶
Create your own repo using the nais/hello-nais as a template.
You create a new repository through either the GitHub UI or through the GitHub CLI:
2. Grant your team access to your repository¶
Open your repository:
Click on Settings
-> Collaborators and teams
-> Add teams
.
Select your team, and grant them the Write
role.
You have now successfully created your own application repository and granted your team access to it. In the next steps we will have a closer look at the files needed to make this application NAIS!