Skip to content

D4RT4GNaN/VirtualClimbing

Repository files navigation

VirtualClimbing

P6 - DA JAVA Openclassroom - A community site around climbing

Getting Started

You can get this project either by downloading it in ZIP file or cloning it.

To clone it, go to the folder of your choice in command line and use the following command :

$ git clone https://github.com/D4RT4GNaN/VirtualClimbing.git

See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to install :

Installing

To start with this project :

  1. Open it in IDE and setup a tomcat server, if it has not already been done.
  2. In IDE, open /src/main/webapp/META-INF/context.xml and change data with your connection information to the database.
  3. If you want, a demo data set is available in the folder. There are SQL scripts for creating tables and filling them. Just open the request tool of PgAdmin and open the script create_virtualclimbing_db.sql first and then open the scripts create_data_example.sql later.

Deployment

To deploy the project on Tomcat server, you can just running the project into the IDE. You can also manually deploy the project.

Start by cleaning package (optional but advisor)

$ mvn clean

Continu by packaging the project

$ mvn package

Put the war which has just been created, into apache-tomcat-X.X.XX/webapps. And finally, launch the tomcat server with the command

$ sh startup.sh

You can found the script into the bin folder of the tomcat server

The site is normally accessible at http://localhost:8080/virtualclimbing-webapp/

Built With

  • Maven - Dependency Management and Multi-module Management
  • Spring - Used to manage the backend service like DAO and Manager
  • Struts 2 - Used to manage the frontend service with actions class and XML file

Versioning

I use Git for versioning.

Authors

About

P6 - DA JAVA Openclassroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published