Skip to content
Web2.0 interface for RPM database http://packages.altlinux.org
Ruby HTML Nginx Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
bin
config
db
lib
locale
log
monit
public
spec
vendor
.codeclimate.yml
.gitignore
.rspec
.rubocop.yml Update rubocop config
.ruby-version
.travis.yml Update ruby to 2.3.0 release
Capfile
Gemfile
Gemfile.lock
MIT-LICENSE
README.textile
REDIS-STORE
Rakefile
TODO.md Update TODO.md
bundler-1.11.2.gem Update bundler gem to 1.11.2
config.ru
nginx.conf Set default timeout to 300s, so some resource hard requests will work…
redis.conf Update redis.conf for redis from altlinux
rubocop.sh
test.rb

README.textile

Welcome to Prometheus 2.0

Dependency Status

Build Status


Setup and run

Install:

  • Ruby 2.3.0
  • RubyGems 2.5.1
  • bundler 1.11.2
  • PostgreSQL 9.4 (some features will not work in other db)
  • nginx
  • gettext
  • curl
  • sphinx search engine
  • node.js
  • /usr/bin/md5sum from coreutils
  • git
  • memcached
  • redis
  • graphviz
  • rpm
  • rpm2cpio
  • bzip2
  • coreutils

Then:

  • bundle install
  • bin/rake secret
  • bin/rake gettext:pack

Init database:

  • bin/rake db:create
  • bin/rake db:migrate
  • bin/rake db:seed

Enable bootstrap mode:

  • export PROMETHEUS2_BOOTSTRAP=yes

Import data:

  • bin/rake sisyphus:update
  • bin/rake sisyphus:teams
  • bin/rake sisyphus:bugs
  • bin/rake sisyphus:repocops
  • bin/rake sisyphus:repocop_patches
  • bin/rake gear:import
  • bin/rake perlwatch:update
  • bin/rake ftbfs:update
  • bin/rake sisyphusarm:srpms
  • bin/rake sisyphusarm:binary
  • bin/rake p7:update
  • bin/rake t7:update
  • bin/rake p6:update
  • bin/rake t6:update
  • bin/rake p5:update
  • bin/rake 51:update
  • bin/rake 51:teams
  • bin/rake 50:update
  • bin/rake 50:teams
  • bin/rake 41:update
  • bin/rake 41:teams
  • bin/rake 40:update
  • bin/rake 40:teams
  • bin/rake redis:cache
  • bin/rake ts:index

Run

  • bin/rake ts:start
  • bin/rake assets:precompile
  • redis-server redis.conf
  • service postgresql start
  • memcached -d -m 128 (as a user)

Deploy

  • bin/cap production deploy

License

Prometheus 2.0 uses the MIT license. Please check the MIT-LICENSE file for more details.

Something went wrong with that request. Please try again.