Giter Site home page Giter Site logo

maslow's Introduction

Maslow

Maslow is a tool to create and manage needs. It's a frontend for the Need API. It's a Rails app which is part of the GOV.UK Publishing Platform.

Dependencies

  • Ruby (1.9.3)
  • Bundler
  • A running instance of the Need API

If you'd like to show a list of content for a need, you can also run the Content API (and its dependencies). However, Maslow will still work when the Content API isn't present.

Getting started

The bootstrap script should get you up and running in the development environment. It runs Bundler and creates a stub user in the database.

./script/bootstrap
bundle exec unicorn -p 3001

GDS development

If you're using the development VM, you should run the app from the development repository using Bowler and Foreman. The Need API will automatically be started alongside Maslow.

cd development/
bowl maslow

From your host machine, you should be able to access the app at http://maslow.dev.gov.uk/.

User accounts

Authentication is provided by the GDS-SSO gem, and in the production environment an instance of Signon must be running in order to sign in.

In the development environment, the mock strategy is used by default. This removes the requirement for authentication, instead returning the first user in the database as the current user. For this to work, a user must exist - there's a user defined in db/seeds.rb which will be created with the bootstrap script.

maslow's People

Contributors

bishboria avatar jordanhatch avatar dhwthompson avatar benilovj avatar alext avatar vinayvinay avatar tekin avatar gemmaleigh avatar wryobservations avatar fofr avatar rgarner avatar bradwright avatar marksheldongds avatar matthewford avatar

Watchers

James Cloos avatar  avatar

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.