Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Web2.0 interface for RPM database
Ruby HTML Nginx Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app Fix maintainers bugs
bin Update bin/* from rails 4.2.2
config Fix routes for srpms api for packages with dots in name
db Update schema
lib Remove backup config and rake task
locale Regenerate locale files
log Migrating to rails 4. Part 1.
monit Restart unicorn if it takes more than 1024 mb of memory
public Update 500, 422 and 404 pages from rails 4.2
spec Mark specs as pending
vendor Update brakeman gem to 3.1.0
.gitignore Rails 4.2 stuff
.rspec Update specs for rspec 3
.rubocop.yml Update rubocop config
.ruby-version Add .ruby-version
.travis.yml Update ruby to 2.2.3
Capfile Deploy
Gemfile Update ruby to 2.2.3
Gemfile.lock Update brakeman gem to 3.1.0
MIT-LICENSE Update MIT-LICENSE
README.textile Update ruby to 2.2.3
REDIS-STORE Use redis-objects gem for caching Branch.srpms.count
Rakefile Update Rakefile for rails 4.2
TODO.md Update TODO
altlinux.ca Use curl with altlinux ca
bundler-1.10.6.gem Update bundler gem to 1.10.6
config.ru Add rack-health gem
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 Update rubocop script
test.rb Update test.rb file

README.textile

Welcome to Prometheus 2.0

Dependency Status

Build Status

Setup and run

Install:

  • Ruby 2.2.3
  • RubyGems 2.4.8
  • bundler 1.10.6
  • 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
  • bundle exec rake secret
  • bundle exec rake gettext:pack

Init database:

  • bundle exec rake db:create
  • bundle exec rake db:migrate
  • bundle exec rake db:seed

Enable bootstrap mode:

  • export PROMETHEUS2_BOOTSTRAP=yes

Import data:

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

Run

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

Deploy

  • bundle exec cap 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.