Prerequisites
- Java
- Maven
- MySQL (xampp)
- Apache Tomcat
Configs
-
Set
JAVA_HOME,CATALINA_HOME, andMAVEN_HOMEenvironment variables -
Add java, and maven to
PATHenvironment variable
Steps
-
Fork and clone the repository,
git clone https://github.com/<your profile name>/fiction-times-backend -
Create a database with name fictionTimes
-
Open the cloned repo, and find, duplicate, and rename the
database.properties.examplefile todatabase.properties -
Replace
${PORT},${USERNAME}, and${PASSWORD}with your MySQL database port number and credentials
Intellij run configuration
-
Click
Add Configuration... -
Click Apply and Ok
-
Select the play button to build and deploy the application
Build project using maven
mvn install



