Prerequisites
- Java
- Maven
- MySQL (xampp)
- Apache Tomcat
Configs
-
Set
JAVA_HOME
,CATALINA_HOME
, andMAVEN_HOME
environment variables -
Add java, and maven to
PATH
environment 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.example
file 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