Skip to content

elbereth/dashninja-fe

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Dash Ninja Front-End (dashninja-fe)

By Alexandre (aka elbereth) Devilliers

Check the running live website at [https://www.dashninja.pl]

This is part of what makes the Dash Ninja monitoring application. It contains:

  • Public REST API (using PHP and Phalcon framework)
  • Public web pages (using static HTML5/CSS/Javascript)

Feel free to donate to : XkfkHqMnhvQovo7kXQjvnNiFnQhRNZYCsz

Special thanks to : Jetbrains

Requirement:

For the REST API:

  • PHP v5.6 with mysqli (works/tested with PHP 7.1)
  • Phalcon v2.0.x (should work with any version) up to v3.2.x
  • MySQL database with Dash Ninja Database (check dashninja-db repository)

Optional:

  • Dash Ninja Control script installed and running (to have a populated database)

Install:

  • Go to the root of your website for Dash monitoring (ex: cd /home/dashninja2/www/)
  • Get latest code from github:
git clone https://github.com/elbereth/dashninja-fe.git
  • Configure php to answer only to calls to api/index.php rewriting to end-point api/

  • Add api/cron.php script to your crontab, activate for main and/or test net, both for blocks24h and for masternode full list

Configuration:

  • Todo...