Skip to content

Team-17-2YGP/fiction-times-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fiction-times-backend

Setting up the project for development

Prerequisites

  • Java
  • Maven
  • MySQL (xampp)
  • Apache Tomcat

Configs

  • Set JAVA_HOME, CATALINA_HOME, and MAVEN_HOME environment variables

  • Add java, and maven to PATH environment variable

Steps

  1. Fork and clone the repository,

    git clone https://github.com/<your profile name>/fiction-times-backend
    
  2. Create a database with name fictionTimes

  3. Open the cloned repo, and find, duplicate, and rename the database.properties.example file to database.properties

  4. Replace ${PORT}, ${USERNAME}, and ${PASSWORD} with your MySQL database port number and credentials

Running the project

Intellij run configuration

  1. Click Add Configuration...

  2. Select Add new configuration > Tomcat Server > Local image

  3. Click configure and add Tomcat home path image

  4. Under deployment click on + icon and select Artifact image

  5. Select the exploded artifact image

  6. Click Apply and Ok

  7. Select the play button to build and deploy the application

Build project using maven

mvn install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages