Install Node.js.
$ apt-get install nodejs
Install Yarn (optional but highly recommended).
$ apt-get install yarn
Clone the repository.
$ git clone https://gitlab.stud.idi.ntnu.no/programvareutvikling-v19/gruppe-73
Install dependencies.
- With npm:
$ npm install
- With yarn:
$ yarn
Start a localhost server.
- With npm:
$ npm start
- With yarn:
$ yarn start
Prettier, Lint & Type checking.
- With npm:
$ npm run check-all
- With yarn:
$ yarn check-all
- Fork the repository and create a new branch for the feature that you want to work on.
- Clone your fork to your local machine.
- Commit your changes and push them to origin. Please don't forget to run
check-all
before commiting your changes. - Open a new pull request.
Opprette branch:
1. git checkout -b branchname
2. git pull origin branchname
Se alle tilgjengelige brancher:
git branch
Gå til en branch:
git checkout branchname