-
Open the cloned repository with IntelliJ IDEA
-
Go to File -> Project Structure -> Project, and set the project SDK to java version 17 (In the case you are using an older or newer version of java you need to change a configuration in the pom.xml file, change "source" and "target" to your version of java as shown in the image below, after updating the fields makes sure you refresh the maven as prompted in the text editor in IntelliJ IDEA)
-
Create a new text file in mathtrainer folder, and name it .env
-
Copy the lines in the file called envFile(this file will be available in canvas as a separate file) and paste it in the newly created .env file.
-
Install .env plugins if needed by clicking on "install" on the upper right side of the .env file in IntelliJ
-
Navigate into src/main/java/server and run Server.java to start the server.
-
When the server is running navigate into src/main/java/client and run Main.java
-
Notifications
You must be signed in to change notification settings - Fork 0
tobiaslafleur/mathtrainer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published