Skip to content

Commit

Permalink
Merge pull request #29 from ls1intum/feature/various-qol-enhancements
Browse files Browse the repository at this point in the history
Various quality of life enhancements
  • Loading branch information
Mtze authored May 2, 2023
2 parents 9dd2804 + 6a9e55b commit 4d76b9f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-bullseye-slim
FROM node:lts-bullseye

# App directory
WORKDIR /usr/src/app
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,27 @@ Team allocation decision support system as used in the iPraktikum.
## Prerequisites

1. Install [Docker](https://docs.docker.com/get-docker/)
2. Clone this repository
2. Either clone this repository or download one of the images found under the packages menu

## Usage - Starting TEASE

If you downloaded the repository, build the docker image (from inside the repositorie's root directory):
```
cd tease
docker build -t tease .
docker run -p 8080:80 --name tease-container tease
docker build -t <image-name> .
```

The container will take a little while to download the node dependencies and then compile the Angular project. After the project is done compiling open
[localhost:8080](https://localhost:8080) and _zoom out of the webpage_ a bit (67% seems good) to make some UI elements more visible (this workaround will be fixed in a future UI improvement update).
The container will take a little while to download the node dependencies and then compile the Angular project.

Feel free to replace the port with a different one if you're experiencing issues with getting connection retsets.
Run the docker image using:
```
docker run -it -p 8080:80 --name tease-container ghcr.io/ls1intum/tease
```

Once the tool is running, you can choose to import the example team data that is shipped with the repository.
After Angular is done preparing the application open [localhost:8080](https://localhost:8080) and choose to either import the example team data that is shipped with the repository or specify a different file.

![import](src/assets/images/import.png)

In **Distribute With Constraints** you can set global and team-specific constraints (e.g. minimum or maximum number of experienced developers, female developers, developers with a mac, etc.). Developers can be pinned to a team and assigned manually.
In **Distribute With Constraints** you can set global and team-specific constraints (e.g. minimum or maximum number of experienced developers, female developers, developers with a mac, etc.). People can be pinned to a team and assigned manually.

![constraints](src/assets/images/constraints.png)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A reference implementation of a decision-support system for software engineering team allocation for multi-project courses.",
"scripts": {
"ng": "ng",
"start": "ng serve --configuration production --host 0.0.0.0 --port 80 --disable-host-check",
"start": "ng serve --configuration development --host 0.0.0.0 --port 80 --disable-host-check",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
Expand Down

0 comments on commit 4d76b9f

Please sign in to comment.