This README will need to contain a description of your project, how to run it, how to set up the development environment, and who worked on it. This information can be added throughout the course, except for the names of the group members. Add your own name (do not add the names for others!) to the section below.
Profile Picture | Name | |
---|---|---|
Vian Robotin | [email protected] | |
Reinier Schep | [email protected] | |
Mana Mahmoudi | [email protected] | |
Laimonas Lipinskas | [email protected] | |
Kuba Trzykowski | [email protected] | |
Simona Lupșa | [email protected] |
This tutorial assumes that:
- You have cloned the latest main branch of this repo to a local folder on your machine.
- You have python3 installed on your machine.
- Open the project in Intellij.
- You should get a notification that says that a Gradle build script has been found, load it.
- Navigate to
repository-template/server/src/main/java/server/Main.java
and clicksetup JDK
. - Click
Add Configuration
(located top right to the right of the green hammer icon) - Click
Add New Configuration
(the '+' sign top left) - Select
Spring Boot
from the list. - Set the name to
Main
and Main class toserver.Main
. - Click
OK
. - Run the server by selecting the
Main
configuration and clicking the green play button, this is necessary for the following step! - Navigate to
repository-template/helper-scripts
and open your terminal in that directory. - Copy the absolute path of the activities.json file, it can be found in
repository-template/server/src/main/resources/activities.json
- Execute the following command in your terminal:
python3 add_activities.py "C:\Users\YourPath\activities.json"
- You should see a bunch of
<Response [200]>
printing to your terminal, once this finishes the database has been successfully populated with activities
- Select the
Main
configuration. - Click the green play button to the right of it.
- The server will start.
- Click on the Gradle logo located on the right.
- Navigate to
quizzzz/client/Tasks/application
- Once here, double click run, this will load the client.
Question
When i run the client on my laptop, it's bigger than my screen, how can i make it fit properly?
Answer
Assuming you're on Windows 10, go to Settings > System > Display > Scale and Layout and set your scaling setting to 100%.
- Pick an issue you'd like to work on.
- Make branch off the dev branch with an appropriate name.
- Complete the feature on this branch.
- Make a merge request to merge your branch back into dev.