This is the MSPR project of the third year at EPSI Nantes. Project Duration : 20h.
Result visible here.
Supervision visibe here.
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;
git clone https://github.com/Kev1venteur/MSPRB3Dev.git
✏️ Built with Adopt OpenJDK 11.
✏️ To run it, you have to download Java.
✏️ You can build it with maven.
✏️ Continuous Integration/Delivery with Jenkins
📌 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
📌 Here we installed Jenkins from LXC Container on proxmox :
Just send a pull-request 🏆
🍸 Kilian Le Roux - Developper | Sysadmin.
🍸 Etienne Drapp - Developper | Sysadmin.
🍸 Maël Coubrun - Developper | Sysadmin.
🍸 Kévin Gillet - Developper | Sysadmin - Linkedin.
💎 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