Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Signal

Signal is a open source system status dashboard inspired by Cachet and others, built on Symfony and React.

Tech

  • [React] - JS framework for responsive apps
  • [Symfony 4.4] - PHP MVC Framework
  • [composer] - PHP Dependency Manager
  • [npm] - JS Dependency Manager
  • [jQuery] - More JS stuff

Requirements

Documentation

The docs folder provides detailed guides for the many features of signal.

Installation

Clone repository.

$ cd /var/www
$ git clone https:\\github.com\dustinscarberry\signal

Install dependencies.

$ cd signal
$ composer install
$ npm i

Create and configure .env.local at root of project directory.

#required properties
APP_ENV=prod
APP_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DATABASE_URL=mysql://username:password@127.0.0.1:3306/databasename
MAILER_URL=emailConnectionString - https://symfony.com/doc/current/email.html#configuration

#optional properties
EXCHANGE_CALENDAR_HOST=outlook.sample.com
EXCHANGE_CALENDAR_USERNAME=username@sample.com
EXCHANGE_CALENDAR_PASSWORD=password
EXCHANGE_CALENDAR_VERSION=2013

Clear cache.

This will need to be ran before / after any upgrades to clear the production app cache.

$ rm -rf /var/www/signal/var/*

Run migrations.

$ php bin/console doctrine:migrations:migrate

Load basic data.

$ php bin/console doctrine:fixtures:load

Run server (if needed)

Nginx Basic Config

server {
    listen 443 ssl http2;
    ssl_certificate /etc/nginx/ssl/cert.cer;
    ssl_certificate_key /etc/nginx/ssl/cert.key;
    server_name __;
    root /var/www/signal/public;

    location / {
        try_files $uri /index.php$is_args$args;
    }

    location ~ ^/index\.php(/|$) {
        fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        include fastcgi_params;
       fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
       fastcgi_param DOCUMENT_ROOT $realpath_root;
       internal;
   }

   location ~ \.php$ {
     return 404;
   }
}

Upgrades

  1. Get updates from repo.
git pull
  1. Run database migrations.
php bin/console doctrine:migrations:migrate

WARNING: Do not install fixtures unless needed. Failure to do so will result in total loss of data!

  1. Install new fixtures (if needed) - None currently

  2. Clear cache.

rm -rf var/cache/*

About

Open source replacement status page inspired by Cachet and others

Resources

Packages

No packages published