Skip to content
mttstt edited this page Sep 5, 2018 · 4 revisions
  1. sudo snap install docker
  2. apt install docker-compose
  3. newgrp docker

Getting Started on Linux Server (Centos)

  1. Installazione distribuzione Linux (Ubunt, Centos,..)

  2. Obtain sudo privileges for your accounts. As root Add the following line in /etc/sudoers: ALL=(ALL) NOPASSWD: ALL

  3. Install meteor (curl https://install.meteor.com/ | sh)

  4. Install meteor-kitchen (curl https://www.meteorkitchen.com/install | /bin/sh)

  5. Install GIT: sudo yum install git

  6. Configure Git: git config --global user.name "Your Name" git config --global user.email "you@example.com"

  7. Clone the project: git clone https://github.com/mttstt/AuditTool.git

  8. In order to connect from outside stop the firewall sudo systemctl stop firewalld.service

  9. Install node-gyp (non mandatory !): sudo npm install -g node-gyp

  10. Install node (non mandatory !): for centos: su curl --silent --location https://rpm.nodesource.com/setup_8.x | bash - yum -y install nodej

Getting Started JSReport

Jsreport is the application for the PDF file creation.

  1. Install jsreport: sudo npm install jsreport-cli -g

  2. Configure Jsreport (not required in production enviroment) cd /home/mtt/node_modules/jsreport cp example.config.json dev.config.json nano dev.config.json =>

         "tasks": {
     		"strategy": "dedicated-process",
     		"timeout": 10000,
     		"allowedModules": [*]
     	},
     	"scripts": {
     		"allowedModules": [*],
     		"timeout": 60000
    
  3. Start Jsreport jsreport init jsreport start

  4. Connetersi alla porta 5488 fare import del file ZIP di configurazione.

Clone this wiki locally