Original: https://github.com/adamcooke/staytus

Staytus提供页面快速展示和发布Web服务状态和处理进展。同时提供以下功能:
1. 美观和响应的界面
2. 跟踪问题,并随着问题的进展不断发布更新
3. 发布您的维护窗口,在状态站点上公布
4. 允许访问者通过电子邮件订阅,在添加新问题或维护会话时自动通知他们
5. 包含一个JSON API,允许更新外部应用程序和源的状态
6. 与同事协助添加新的更新,以确保始终通知客户

Staytus

http://staytus.co/

Staytus is a complete solution for publishing the latest information about any issues with your web applications, networks or services. Along with absolutely beautiful public & admin interfaces, Staytus is a powerful tool for any organization with customers that rely on them to be online 24/7.

Screenshot

Installation from source

System Requirements

  • Ruby 2.3 or greater
  • RubyGems and Bundler
  • A MySQL database server
  • Bundler (gem install bundler)
  • Procodile (gem install procodile)

Installation Instructions

A comprehensive tutorial about how to install Staytus available here on the aTech Media blog.

Alternativly, these basic instructions will get you up and running:

Before start, you’ll need to create a new MySQL database:

mysql$ CREATE DATABASE `staytus` CHARSET utf8 COLLATE utf8_unicode_ci;
mysql$ GRANT ALL ON staytus.* TO `staytus`@`localhost` IDENTIFIED BY "a_secure_password";
$ git clone https://github.com/adamcooke/staytus
$ cd staytus
$ git checkout stable
$ bundle install --deployment --without development:test
$ cp config/database.example.yml config/database.yml
$ nano -w config/database.yml # Add your database configuration
$ bundle exec rake staytus:build staytus:install
$ procodile start --foreground

This will run the application on HTTP port 5000. When you first login, you’ll be able to add your own site settings. Browse to http://[IP]:8787 to begin.

You may also want to change the SMTP configuration via environment variables, which are described in config/environment.example.yml.

To run staytus in the background, simply run procodile start without the –foreground option.

Upgrading

Once you’ve installed Staytus, you can easily upgrade it by following this process.

$ cd path/to/staytus
$ git pull origin stable
$ bundle
$ bundle exec rake staytus:build staytus:upgrade

Once you’ve done this, you should ensure you restart any Staytus processes which you have running.

E-Mail Notifications

All e-mail notifications are sent through a background worker process. This will be started automatically when you run the application using foreman start. If you don’t do this, you can run jobs using bundle exec rake jobs:work.

Administration

To log in for the first time, visit the /admin, and log in with email [email protected] and password password. You will probably want to go to Settings -> Users and set up your admins.

Themes

All themes are stored in the content/themes directory. You can add your own themes in this directory but we do not recommend making changes to the default theme as these changes may get overridden in an upgrade.

Full details about how to make these will be coming soon.

Examples in the wild

If you’re running Staytus in the wild, let us know so we can add you to the list.

Screenshots

Here’s a few extra screenshots from the admin and public interfaces.

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

打赏

Leave a Reply

Your email address will not be published. Required fields are marked *