Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Gitter

Sysopia

A dashboard to visualize a small/medium system status

Development

Install mysql and mysql development package.

#for debian, ubuntu, mint etc.
apt-get update
apt-get install mysql-server libmysqlclient-dev

Prepare gems, databases, seed data. If mysql is located at your

Copy the contains of config/env.sh.example to a new file called env.sh. Change the values if necessary. It's used to provide environmental variables.

bundle install
env SYSOPIA=config/env.sh bundle exec rake db:create:all
env SYSOPIA=config/env.sh bundle exec rake db:migrate
env SYSOPIA=config/env.sh bundle exec rake db:seed
env SYSOPIA=config/env.sh bundle exec rackup

For Development(to automatically restart the server after making a change)
env SYSOPIA=config/env.sh rerun rackup

Sysopia now should run in development mode and show graphs with fake data at http://localhost:9292

For debugging you can run

SYSOPIA=config/env.sh bundle exec rake console

Release of a New Version

When code's version is ready to be upgraded

  • Change version number at lib/sysopia/version.rb

  • Add record to CHANGELOG.md file

  • Run rake release

    SYSOPIA=config/env.sh bundle exec rake release

  • Go to production branch and merge it with master. This step will also generate new Docker image at Docker Hub

About

SysOp dashboard for 2-20 hosts

Resources

License

You can’t perform that action at this time.