Giter Site home page Giter Site logo

hrs's Introduction

The UI of this project uses:
  • Apache Tomcat
  • Maven
  • MySQL
  • Apache Tomcat:


    - Go to ‘apache-tomcat-9.0.35/conf’ open ‘tomcat-users.xml’ and in <tomcat-users> </tomcat-users> add “
    <role rolename="manager-gui"/>
    <role rolename="manager-script"/>
    <user username="admin" password="password" roles="manager-gui,manager-script"/>

    (and make sure it’s not in a comment (<!-- -->))

    ---------------------------------------------------------------
    Here's a good documentation about Tomcat 9.
    ---------------------------------------------------------------

    Maven:

    - To install maven here is a link to guide you through the installation proccess.
    After installing maven:
    - To go to '.m2' folder open the terminal and run 'open .m2'.
    - There should be a 'settings.xml' file, if not you can create a 'settings.xml' and here's a link on how to setup the settings file.
    - Open ‘setting.xml’ file and in <servers> </servers> add “
    <server>
    <id>TomcatServer</id>
    <username>admin</username>
    <password>password</password>
    </server>

    MySQL:

    We used MySQL to store our data so that our operations won't be deleted when we restart the project.
    - To Download MySQL (link)
    After Downloading MySQL:
    - To run MySQL here is a link that provide all the information needed on how to start MySQL.
    - After starting MySQL, create a database named (HR).

    --------------------------------------------------------------
    A good application to show your database is MySQL Workbench (download).
    MySQL documentation
    MySQL Workbench documentation
    ---------------------------------------------------------------

    Running The Project:

    You’ll have to use three terminal windows.
    - On the first terminal window move to ‘hrm’ folder and do a ‘mvn install’.
    - On the second terminal window go to ‘apache-tomcat-9.0.35/bin’ folder and run ‘./catalina.sh start’.
    - On the first terminal window move to ‘HRsystem’ folder and run ‘mvn install tomcat7:deploy’.

    • open ‘hrm/HRsystem/WebContent/WEB-INF’ folder and copy all .html and .css files and paste it in ‘apache-tomcat-9.0.35/webapps/HRsystem/WEB-INF/classes’.
    • open the third terminal window and move to ‘hrm’ directory.
    • open your browser, the link to the project is ‘http://localhost:8080/HRsystem/home/page/web’, go to the third terminal window and run ‘bash run.sh’ (you'll have to run it within 5 seconds so that the project can connect to the socket port).

    hrs's People

    Contributors

    ferasalhassnan avatar johnrwolfe avatar

    Watchers

    James Cloos avatar

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.