Giter Site home page Giter Site logo

ping's Introduction

SensioLabsInsight

This application monitors the uptime by making cURL requests to a defined set of websites and display the data in charts.

The only languages currently available are english and german. You can edit the language files in app/lang/[2_LETTER_COUNTRY_CODE]/*.php. Just copy the english/german translation and edit the files. Pull requests are welcomed.

Requirements

  • npm (node.js package manger)

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

Configuration

In the future there might be an installer.

Set the environment variable APPLICATION_ENV to a value which is unequal testing, e.g. development or production. Create the folder app/config/[APPLICATION_ENV]. All config files in this directory will be merged with the config files in app/config. The most important files are database.php and app.php which should similar to this:

<?php

// app/config/[APPLICATION_ENV]/database.php
return array(
	'connections' => array(
		'app' => array(
			'driver'    => 'mysql',
			'host'      => 'localhost',
			'database'  => 'ping_database',
			'username'  => 'ping_database_user',
			'password'  => 'ping_database_user_password',
			'charset'   => 'utf8',
			'collation' => 'utf8_unicode_ci',
			'prefix'    => 'ping_',
		),
	),
);
<?php

// app/config/[APPLICATION_ENV]/app.php
return array(
	'format' => array(
		'datetime' => 'd/m/Y H:i', // see http://php.net/date
	),
	'url' => 'http://127.0.0.1/ping/public',
	'locale' => 'en',
	'timezone' => 'Europe/Berlin',
	'key' => '' // 32 random alphanumeric chars
);

For a normal installation you should create an auth.php which will create a admin after installation:

<?php

// app/config/[APPLICATION_ENV]/auth.php
return array(
	'default' => array(
		'email' => '[email protected]',
		'password' => '123456',
	),
);

Installation

  1. Clone the repository
  2. Create your config
  3. php artisan migrate --package=cartalyst/sentry
  4. php artisan migrate
  5. grunt build
  6. visit http://url-to-repository/public

ToDo

  • Dashboard!
  • Search in body for string when checking uptime
  • Fix translation issues
  • Unit Tests

Contributors, Credits and libraries

ping's People

Contributors

thelfensdrfer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.