Getting started
The old and deprecated portal is build using Angular 2+ and is currently in a maintenance only state.
Prerequisites
Ensure you have the following available on your device:
- git
- node 18+
- npm 9+
- Angular CLI 14+
Setup
The source code for this project can be found at the uturn Gitlab repository; a VPN connection is required.
git clone http://www.gitlab.uturn.bigboat.cloud/uturn/uturn.git
git clone git@www.gitlab.uturn.bigboat.cloud:uturn/uturn.git
This repository is a monorepo containing both the frontend and backend. For this project, we are only interested in
the frontend folder
After cloning the repository, navigate via cli to the frontend folder within the project and run:
npm i --force
Due to dependency errors, the project can only install packages when forcing it.
Development
Depending on your needs you may need to set up and run the Backend project as well, for this please visit the backend documentation page.
Before you run the frontend, ensure you have set your environment variables (src/environments.ts) accordingly. Now you
have everything set up, run:
npm start
By default, the application runs on:
http://localhost:4200
Building
The webapp can be built with two different setups; development or production. Running the command creates an SPA
webapp in the dist folder of the project
When building for development, it uses the src/environments.ts file. Run
npm run build
For production, it uses the src/environments.prod.ts file. Run
npm run build-prod
Release
@TODO