Skip to content
Web2.0 interface for RPM database
Ruby HTML Nginx Other
Latest commit 1d35740 Apr 30, 2016 @biow0lf Update webmock gem to 2.0.0
Failed to load latest commit information.
app Fix 500 error Apr 10, 2016
bin Add binstubs for capistrano Oct 4, 2015
config Fix deploy Apr 23, 2016
db Add p8 branch Apr 23, 2016
lib Add p8 rake task Apr 23, 2016
locale Regenerate locale files Apr 3, 2015
log Migrating to rails 4. Part 1. Dec 22, 2013
monit Restart unicorn if it takes more than 1024 mb of memory Jan 12, 2013
public Update opensearch http url to https Feb 18, 2016
spec Refactoring Apr 9, 2016
vendor Update webmock gem to 2.0.0 Apr 30, 2016
.codeclimate.yml Update codeclimate config Nov 19, 2015
.gitignore Rails 4.2 stuff Jun 25, 2015
.rspec Short rspec output Sep 19, 2015
.rubocop.yml Update rubocop config Jan 28, 2016
.ruby-version Update ruby to 2.3.1 Apr 30, 2016
.travis.yml Update ruby to 2.3.0 release Dec 31, 2015
Capfile Configure capistrano-db-tasks Feb 22, 2016
Gemfile Update ruby to 2.3.1 Apr 30, 2016
Gemfile.lock Update webmock gem to 2.0.0 Apr 30, 2016
MIT-LICENSE Update year in MIT-LICENSE Dec 31, 2015
README.textile Update ruby to 2.3.1 Apr 30, 2016
REDIS-STORE Use redis-objects gem for caching Branch.srpms.count Dec 21, 2013
Rakefile Update Rakefile for rails 4.2 Jun 25, 2015
TODO.md Update TODO.md Sep 24, 2015
bundler-1.11.2.gem Update bundler gem to 1.11.2 Dec 17, 2015
config.ru Add rack-health gem Apr 20, 2015
nginx.conf More security Feb 22, 2016
redis.conf Update redis.conf for redis from altlinux Nov 22, 2012
rubocop.sh Update rubocop script Mar 4, 2015
test.rb Update test.rb file Apr 10, 2015

README.textile

Welcome to Prometheus 2.0

Dependency Status

Build Status


Setup and run

Install:

  • Ruby 2.3.1
  • 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

Tests

  • bin/rspec

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.