Skip to content

daniftinca/mitblick

Repository files navigation

Mitblick

The main repository for the Mitblick app

This app was built for a university project.

Learning materials:

Beginner Angular Tutorial

Git beginner Tutorial

How to install the dev environment required to work on this app?

What software is required?

  • IntelliJ (IDE, register for the student version)

  • Glassfish Payara 5 (our JavaEE server)

  • MySQL Workbench (self explanatory)

  • XAMPP (mysql server, you can choose others too, but this one is the easiest imo)

  • Postman (for REST development)

  • Node.js (for frontend, eg Angular and co.)

Google them and you will find them.

How do I download the code from here on my PC? What is GIT?

Git is a version control system (VCS) which allows more poeple to work on the same project without encountering many problems.

Normally, you would have to know commands to use it, but IntelliJ has your back.

Just choose 'New ->Project from version control->Git'

-> Put in the link of this repo and click ok

How to install the current project on your machine?

1.) Download and install all the software I listed above

2.) Add a poweruser to the db server (eg username: admin, password: admin)

It needs a password

3.) Open the DB server, create a new DB, name it whatever, I used mitblick

This is how the glassfish config has to go, it's the hardest part:
  • Add it to IntelliJ
  • Once added, run it and go to it's admin console (by default localhost:4848)
  • follow this tutorial
    • you have to download the mysql jdbc connector jar from here
    • dont't put it in glassfish-install-path\domains\domain-name\lib, put it directly in the lib folder under the glassfish install (glassfish-install-path\lib)
    • When you create the JDBC Resource the JNDI name has to be "jdbc/mitblick-persistence"

4.) Run maven!

Normally you would need to know commands to do this but again, IntelliJ has you back!

Look at the sides of the IDE (left, right and down) and you will see something called Maven Projects

Click on it.

Choose MitBlick Parent

Choose Lifecycle

Choose install

What is maven?

Maven is a dependency management tool and helps us keep all our dependencies organized.

It is already configured, so you don't need to worry to much about it unless you need to use other libraries.

About

The main repository for the Mitblick app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published