Git Product home page Git Product logo

dashboard's Introduction

Dashboard

Admin dashboard for managing the nodes in the SUSE Studio cluster, which started as [a project] (https://github.com/SUSE/hackweek/wiki/Admin-Dashboard) in SUSE's [Hackweek] (http://hackweek.suse.com/). It is based off the awesome [Team Dashboard] (https://github.com/fdietz/team_dashboard), so refer to that or the old README for related details.

Getting started

  1. Clone the repository:

    git clone [email protected]:susestudio/dashboard.git
    
  2. Install dependencies with bundler:

    cd dashboard
    bundle install
    
  3. Setup the PostgreSQL database and populate with seed data:

    sudo -u postgres createuser "$USER" -d
    bundle exec rake db:setup
    
  4. Start the Rails server (at http://localhost:3000):

    bundle exec rails s
    

Running tests

  1. Install PhantomJS. It's not packaged on SUSE, so download the official tarball, untar it, and move the phantomjs binary to ~/bin/ (which should already be in your $PATH).

  2. Now simply run rake to execute both the Ruby and Javscript tests:

    bundle exec rake
    

dashboard's People

Contributors

fdietz avatar ancorgs avatar draganmileski avatar luxflux avatar ndbroadbent avatar jamestyj avatar frankmt avatar hamann avatar leejones avatar newloki avatar

Watchers

Cornelius Schumacher avatar James Cloos avatar  avatar G. Willson avatar

Forkers

biomassives

dashboard's Issues

Failing widgets (number, boolean, Travis, Jenkins)

A number of widgets on the followings pages fail to load:

All seem to have the same root error, eg:

Internal Server Error: #<ArgumentError: wrong number of arguments (2 for 1)> 
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/middleware.rb:33:in `initialize'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/middleware.rb:21:in `new'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/middleware.rb:21:in `new'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/builder.rb:43:in `build'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/builder.rb:78:in `block in to_app'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/builder.rb:78:in `each'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/builder.rb:78:in `inject'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/builder.rb:78:in `to_app'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/connection.rb:87:in `app'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/connection.rb:247:in `run_request'
/home/jamestyj/.rvm/gems/ruby-1.9.3-p392/gems/faraday-0.8.7/lib/faraday/connection.rb:100:in `get'
/home/jamestyj/code/dashboard/app/models/http_service.rb:72:in `request'
/home/jamestyj/code/dashboard/app/models/sources/ci/travis.rb:31:in `request_build_status'
/home/jamestyj/code/dashboard/app/models/sources/ci/travis.rb:19:in `get'
/home/jamestyj/code/dashboard/app/controllers/api/data_sources_controller.rb:6:in `index'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.