Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various quality of life enhancements #29

Merged
merged 2 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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