GithubHelp home page GithubHelp logo

rmoorman / performanceplatform-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alphagov/performanceplatform-admin

0.0 3.0 0.0 4.26 MB

A Flask app to let authorised users update performance data on GOV.UK

License: Other

performanceplatform-admin's Introduction

Performance Platform admin

Build status Coverage Status Code Health

Performance Platform admin is a Flask app that allows authorised users to update performance data on GOV.UK.

Application dependencies

We recommend using virtualenv to manage this application's dependencies.

To set up, run:

pip install -r requirements.txt

Redis is also required to run the application. It is already on the dev vm. If you prefer to install it locally:

brew install redis

To start run redis-server

A good guide to adding redis to launchctl can be found here

Getting set up with GOV.UK's single sign-on service

  1. Create a signon application and user
  2. Update development config with OAuth2 credentials
  3. Set an environment variable to allow OAuth over insecure TLS in development: export OAUTHLIB_INSECURE_TRANSPORT=1
  4. Run the app as normal

Compiling stylesheets

If you need to compile stylesheets outside of the normal app starting process then run:

python tools/compile_sass.py

Running the app

python start.py 3070

Starting the app in development will automatically compile stylesheets.

You can modify your local configuration without affecting version control using the instructions in the admin/config/development.py file.

Running tests

./run_tests.sh

performanceplatform-admin's People

Contributors

jcbashdown avatar tombooth avatar alexmuller avatar robyoung avatar timmow avatar roc avatar jabley avatar nayeemac avatar

Watchers

Rico Moorman avatar 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.