Skip to content

EOL/sysopia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 3, 2015
c4ce28e · Sep 3, 2015

History

95 Commits
Aug 31, 2015
Sep 3, 2015
Sep 3, 2015
Feb 26, 2015
Sep 3, 2015
Jul 8, 2015
Sep 3, 2015
Mar 10, 2015
Feb 27, 2015
Sep 2, 2015
Mar 19, 2015
Feb 23, 2015
Feb 23, 2015
Sep 3, 2015
Aug 17, 2015
Sep 3, 2015
Feb 23, 2015
Jun 14, 2015
Mar 10, 2015
Feb 26, 2015
Mar 10, 2015
Aug 31, 2015
Feb 23, 2015
Aug 31, 2015

Repository files navigation

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