-
Notifications
You must be signed in to change notification settings - Fork 4
Home
This wiki is intended to serve as a good supplement to README.md and CONTRIBUTING.md, which can both be found in the source code. As of right now, it is very limited. Feel free to suggest tutorials and other pages that may be useful here.
When you run either the frontend or the api through a docker container, all the dependencies are correctly installed on the docker image used in the container and not on your system. The linter in your code editor doesn't have access to the container files, so it doesn't know about the packages that are used in the code. You must manually install them on your system as well to get correct linting and autocomplete.
- Install npm
- Install yarn:
npm install --global yarn
- Install the dependencies:
yarn install
Still have linter errors on the frontend? Make sure you open the folder containing
tsconfig.json
in your editor.
Install dependencies with pip:
pip install requirements.txt
To push code upstream you must be a member of the organization td-uit-org-no. Contact nettsideansvarlig via e-mail or ask someone on the IFI discord server to get an invite.