Skip to content

This is the MSPR project of the third year at EPSI Nantes. Project Duration : 20h.

Notifications You must be signed in to change notification settings

Kev1venteur/MSPRB3DevJavaJenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSPRB3Dev

This is the MSPR project of the third year at EPSI Nantes. Project Duration : 20h.
Result visible here.
Supervision visibe here.

Important Infos

The java code is made to work with Apache on a linux server, and so, create all the files in "/var/www/html/msprb3" - see the "How to Build" part.

The Java Program :
    0 - Works on multi Threads;
    1 - Read text file;
    2 - Generate HTML from infos in text files;
    3 - Check if export files/folders exist and create them if not;
    4 - Write into files the generated HTML code;
    5 - Create .htaccess to secure HTML pages with .htpasswd combos;
    6 - Create .htpasswd from password in text files;

How to Start

git clone https://github.com/Kev1venteur/MSPRB3Dev.git

Java info

✏️ Built with Adopt OpenJDK 11.

✏️ To run it, you have to download Java.

✏️ You can build it with maven.

CI/CD

✏️ Continuous Integration/Delivery with Jenkins

Jenkins Screenshot

How to build

📌 From a command prompt :

$ git clone https://github.com/Kev1venteur/MSPRB3Dev.git
$ cd MSPRB3Dev
$ mvn clean package
$ mv target/msprb3-1.0.jar ./msprb3-1.0.jar
$ mkdir /var/www/html/msprb3
$ cp -r website/* /var/www/html/msprb3/
$ java -Dfile.encoding=UTF8 -Dsun.jnu.encoding=utf-8 -jar msprb3-1.0.jar

Environnement Setup

📌 Here we installed Jenkins from LXC Container on proxmox :

Proxmox Tree Screenshot
Proxmox LXC Jenkins Screenshot

How to contribute

Just send a pull-request 🏆

Authors

🍸 Kilian Le Roux - Developper | Sysadmin.
🍸 Etienne Drapp - Developper | Sysadmin.
🍸 Maël Coubrun - Developper | Sysadmin.
🍸 Kévin Gillet - Developper | Sysadmin - Linkedin.

Sources

💎 Jenkins Install : https://www.jenkins.io/doc/book/installing/
💎 Maven Install : https://maven.apache.org/install.html
💎 How to work with jar files : https://stackoverflow.com/questions/394616/running-jar-file-on-windows
💎 Apache Passwords Encryptions : https://httpd.apache.org/docs/2.4/fr/misc/password_encryptions.html

About

This is the MSPR project of the third year at EPSI Nantes. Project Duration : 20h.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •