Giter Site home page Giter Site logo

need-o-tron's Introduction

Welcome to Need-o-Tron

For an overview of the need-o-tron visit Richard Pope's introductory blog post

Getting set up

Need-o-Tron is a Rails 3.2 application. It is built with ruby 1.9.2 and is only guaranteed to work with that and 1.9.3, though it should be compatible with ruby 2.0

To get up and running you'll need mysql, elasticsearch, ruby and bundler installed. On a mac we recommend using homebrew to install the former two.

Once those requirements are satisfied, getting the app up and running should just be a case of running:

bundle install
rake db:setup
rails server

Authentication

Need-o-tron designed to work as part of a suite of applications, authenticating against an OAuth provider such as Sign-on-o-tron

It does that via the GDS-SSO gem. See that project's README for configuration details. It's an OAuth2 provider, and you could alternatively use any other OAuth2 provider.

If you don't want to authenticate against a separate app there's also a basic strategy for development use that will simply use the first user in your database. To set that up you'll want something like:

% rails console
u = User.new(:name => 'First User', :email => '[email protected]', :uid => 1)
u.permissions = ["signin", "admin"]
u.save

exit

need-o-tron's People

Contributors

alext avatar bradwright avatar craigw avatar daibach avatar defvol avatar dhwthompson avatar dsingleton avatar fidothe avatar garethr avatar heathd avatar jamiecobbett avatar jordanhatch avatar jystewart avatar mattbostock avatar maxamg avatar mneedham avatar mnowster avatar partiallyblind avatar philandstuff avatar rodrigorgs avatar shodz avatar techbelly avatar threedaymonk avatar tomstuart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

need-o-tron's Issues

Combine Directgov links and existing services

I think we should combine Directgov links and "existing services" into a generic list of links to sources for why we should be doing a need. It makes more sense, especially since the needs covered by GOV.UK today span wider than just the content areas of Directgov.

Gemspec refers to the private repo url for Daemonette

Fetching [email protected]:alphagov/daemonette.git
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Git error: command git clone '[email protected]:alphagov/daemonette.git' "/home/harry/bundles/ruby/1.8/cache/bundler/git/daemonette-967f273478fd6c8ac4e61962d81264970e855a26" --bare --no-hardlinks in directory /home/harry/Code/need-o-tron has failed.

I switched to the read-only version and it checked out fine.

Solr schema

Hi, trying to get this to run locally to evaluate, but running into problems with solr. Are the config/schema available anywhere?

Thanks

'rake db:setup' fails

I get the following error:

Mysql2::Error: Table 'needotron_development.evidence_types' doesn't exist: SHOW FULL FIELDS FROM evidence_types

after running the rake command. It looks like the evidence_types table is never created.

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.