Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 1.9 KB

INSTALLATION.md

File metadata and controls

47 lines (42 loc) · 1.9 KB

Installation

Basic Requirements

  1. A domain name (*Fully qualified but we'll get to that)
  2. A server running Node.JS
  3. A local database (Galleon supports most Waterline modules)

Note: Only NodeJS and Authbind is required for Galleon to function in a non-production environment. You should use a database and enable SpamAssasin by following the below directions to create a solid environment.

OPTIONAL -> Install MongoDB

sudo apt-get install -y mongodb-org
sudo service mongod start

REQUIRED -> Install NodeJS

sudo apt-get update
sudo apt-get install nodejs npm

OPTIONAL -> Install SpamAssasin

Note that Spam detection is automatically available once the SpamAssassin Daemon SPAMD is online (after installation). For automatic training and reporting Refer to the tutorial here!

sudo apt-get install spamassassin spamc

Install Galleon

Make sure to include the -g flag in order to enable CLI functions.

npm install -g Galleon

Setup

Run the following command to setup local directories and database connection:

galleon setup

Authbind

You'll need to setup authbind before running Galleon. Check out the tutorial here!

After setting up Authbind you can run Galleon using:

authbind --deep galleon start

Front-end interface

Galleon no longer packages a front-end interface but rather provides an API. You can install Seascape from NPM and serve as a front-facing interface.