Git Product home page Git Product logo

gestao-escola-conducao's Introduction

DRIVING SCHOOL MANAGEMENT - Web Application

Application Engineering Project 2018/19, Computer and Software Engineering Course @ University of Minho, Braga - Portugal

  • Gestão de Escolas de Condução

The main goal of this project is to develop a web application capable of managing any Driving School. In this project, we are using a lot of technologies that allow us to develop this management application, such as:

Contributors

Hugo Oliveira
Hugo Oliveira
Raphael Oliveira
Raphael Oliveira
João Vieira
João Vieira

Development setup

For develop and use our application, you must create a new user in your MySQL database. This user must have at least all permissions to use dsm database.

Please, follow the steps below:

  • as root (sudo mysql -u root) create dsm user with dsm2019EA! password:
CREATE USER 'dsm'@'localhost' IDENTIFIED BY 'dsm2019EA!';
GRANT ALL PRIVILEGES ON *.* TO 'dsm'@'localhost';
FLUSH PRIVILEGES;
  • with mysql client (mysql -u dsm -p), create dsm database:
CREATE DATABASE dsm CHARACTER SET utf8;
  • create dsm database schema:
cd gestao-escola-conducao/docs/vpp/code
chmod +x *.sh
sh CompileAll.sh
sh RunCreateDSMDatabaseSchema.sh
  • open IntellIj IDEA and prepare your env:

    • Setup GlassFish or WildFly server (File > Settings > Build ... > Application Servers)
    • Define output folder for compile and artifact files:
      • (File > Project Structure > Project
      • define output path: gestao-escola-conducao/dsm-backend/out
    • Add dependencies that are on lib folder (File > Project Structure > Libraries) and JUST add:
      • orm.jar
      • all jackson jar files
      • commons-pool2-2.6.2.jar
      • jedis-3.0.1.jar
    • Add a Artifact (File > Project Structure > Artifacts) and follow this steps:
      • + > Web Application:Exploded > From Modules
    • Press Apply and OK
    • Now you just need to setup your Edit Configurations on top right menu

Redis Service

  • Download Redis image if is needed:

    docker pull redis:5.0.4
  • Start Redis container:

    # without password
    docker run -p 6379:6379 redis:5.0.4
    
    # with password
    docker run -p 6379:6379 redis:5.0.4 --appendonly yes  --requirepass "dsmEA2019"
  • To test if redis is working:

    # without password
    redis-cli -h 127.0.0.1 -p 6379
    
    # with password
    redis-cli -h 127.0.0.1 -p 6379 -a 'dsm2019EA'
  • Kill it by doing CTRL-C

gestao-escola-conducao's People

Contributors

oliveirahugo68 avatar joaovieira97 avatar raphael28 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.