Skip to content

hhu-propra2-ws18/abschlussprojekt-illegalskillsexception

Repository files navigation

Softwareentwicklung im Team Blockpraktikum Team IllegalSkillsException

logo

Starting the project

As tester / non developer

To start the project simply run docker-compose up. This should start the docker compose, which starts all necessary components. When the docker compose has finished setting up, the website should be available under the URL : http://localhost:8080.

By default there are two users available:

  • admin:

    • username: "admin"

    • password: "password"

  • user:

    • username="user"

    • password:"password"

The admin account has access to the conflict center, all other users do not have access to the conflict center.

Docker compose problem with windows

Since windows uses different line endings, pulling the repository without the right git configuration may result in docker compose not working. To avoid this pull the repository by using the following command

See this stackoverflow post for more information.

As developer

TO start the project in dev mode the following things need to be done:

  • Start propay

  • Start the backend

  • Start the frontend

Starting propay

To start propay run the following command in any folder:

docker run -p 8888:8888 propra/propay:latest

Starting the backend

To start the backend in developer mode, you need to start the project with application-dev.properties profile.

Starting the frontend

To start the frontend, go into the frontend folder and run the following commans:

npm i npm run start

This should start the react dev server. If the login/register does not work, you probably need to remove the "/api" from the base URL in the file "/frontend/src/Services/urlConstants.js"

About

abschlussprojekt-illegalskillsexception created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published