Giter Site home page Giter Site logo

ricarmon / iuris Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onticsoluciones/iuris

0.0 1.0 0.0 2.17 MB

Web audit tool for verification of compliance with legislation such as the GDPR, LOPD and LSSI autonomously, without relying on third parties, and complemented by a guide of tips to comply with them.

License: GNU Affero General Public License v3.0

PHP 22.66% HTML 6.23% JavaScript 52.79% CSS 18.24% Shell 0.08%

iuris's Introduction

alt text

iuris

Web audit tool for verification of compliance with legislation such as the GDPR, LOPD and LSSI autonomously, without relying on third parties, and complemented by a guide of tips to comply with them.

Requirements

  • PHP 5+
  • MySQL
  • Java 1.8+
  • Latest version of Google Chrome

Quick start

Docker Installation

Require version docker-compose 1.17+ and docker-ce 5.18+

git clone https://github.com/onticsoluciones/iuris.git
cd iuris
docker-compose --build -d

Connect to iuris in http://localhost:8081

Manual Installation

Download ChromeDriver and place it inside $PATH
cd /tmp
curl "https://chromedriver.storage.googleapis.com/2.44/chromedriver_linux64.zip" | jar xv
sudo mv chromedriver /usr/local/bin/chromedriver
sudo chmod +x /usr/local/bin/chromedriver 
Download & launch Selenium Standalone Server
cd ~/iuris
wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar
java -jar selenium-server-standalone-3.141.59.jar
Create an empty MySQL database
mysql -e "create database iuris; grant all privileges on iuris.* to 'iuris'@'localhost' identified by 'yourpassword';"
Clone the repository
cd ~
git clone https://github.com/onticsoluciones/iuris.git
Run composer on the backend directory to fetch its dependencies
cd ~/iuris/backend
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"  
php composer-setup.php
php -r "unlink('composer-setup.php');"
php composer.phar install
Set the database configuration
cp ~/iuris/backend/parameters.yml.dist ~/iuris/backend/parameters.yml
cp ~/iuris/backend/phinx.yml.dist ~/iuris/backend/phinx.yml

Edit the .yml files to set your database configuration.

Create the database schema
cd ~/iuris/backend
vendor/bin/phinx migrate
Start the backend using the integrated PHP server
cd ~/iuris/backend
php -S localhost:8080
Start the backend using the integrated PHP server
cd ~/iuris/frontend
php -S localhost:8081

Webservices

You can access statistics from server on (JSON response):

http://localhost:8080/estadisticas

Webservice for external integrations (access scan funtionality programatically) on (JSON response):

http://localhost:8080/?url={website_to_analyze}

iuris's People

Contributors

alfonsomoratalla avatar alsanchez avatar jimen0 avatar ricarmon avatar yercito avatar

Watchers

 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.