Dialoguea

Dialoguea : installation

GitHub repository

requirements

system

sudo su
apt install -y libvips-dev libgsf-1-dev
wget http://dl.google.com/closure-compiler/compiler-latest.tar.gz
tar zxvf compiler-latest.tar.gz
mv closure-compiler-v20170910.jar /usr/share/java/build/compiler.jar
rm compiler-latest.tar.gz

Create a specific user

In order to have a specific version for Dialoguea, we create a specific user for it. Replace DIR by the home directory you want :

sudo adduser dialoguea --home DIR
sudo su dialoguea

node.js

nvm install 6.9.4

extra npm packages

npm install -g bower nodemon grunt-cli grunt-closure-compiler
npm install grunt --save-dev
npm install babel fs-extra grunt-contrib-concat

Install

git clone https://github.com/ForumDebats/dialoguea.git
cd dialoguea
npm install
bower install
echo "my53CR3Tkey" > key.pub
cd scripts; ./install-tinyup.sh; cd -;
cd tinymce/plugins/upimage
mv plugin.min.js.off plugin.min.js
cd -

grunt

Create the minimified files in public/css (https://www.minifier.org/) :

  • content.min.css
  • dialoguea.min.css
  • skin.min.css

configure SITE and SMTP in settings.js (for the provider, just add the name : e.g. if your SMTP is smtp.mailgun.com, write mailgun)

Allow 2015 port in firewall, add an admin user and launch the server :

sudo ufw allow 2015
npm run adduser
npm run dev

On the web browser, sign in and create a public group

Update

git pull && grunt

bug or feature requests ?

https://github.com/ForumDebats/dialoguea/issues

Make the node.js server start when Ubuntu server starts:

Create the file start-server.sh containing (adapt the cd line) :

#!/bin/bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

cd /var/www/dialoguea
npm run dev &

sudo nano /etc/rc.local :

su dialoguea -c "/var/www/dialoguea/start-server.sh" &

Revision #2
Created Thu, Jun 6, 2019 1:30 PM by Tom
Updated Thu, Jun 6, 2019 1:33 PM by Tom