GithubHelp home page GithubHelp logo

djaodjin / djaopsp Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 6.0 6.38 MB

Practices Survey Platform - Assess against best practices assessment and improvement planning

License: BSD 2-Clause "Simplified" License

Makefile 0.80% Python 40.15% JavaScript 22.40% HTML 33.58% SCSS 2.89% Dockerfile 0.17%
assessments cms survey-app surveys

djaopsp's Introduction

DjaoDjin Practices Survey Platform

Documentation Status

This repository contains the code for DjaoDjin practices sharing platform. To learn more visit DjaoDjin's Website.

The practices sharing platform is built on Django, Vue.js, Bootstrap frameworks and many more Open Source projects. Thank you for the support!

If you are looking to add features, this project integrates

Tested with

  • Python: 3.10, Django: 3.2 (LTS)

Install

First you will need to create a workspace environment, download the 3rd party vendor prerequisite packages and build the static assets.


    $ python -m venv installTop
    $ source installTop/bin/activate
    $ pip install -r requirements.txt
    $ make vendor-assets-prerequisites
    $ make install-conf
    $ make build-assets

At this point, all the 3rd party vendor prerequisite packages (Python and Javascript) have been downloaded and installed in the environment.

Then create the database, and start the built-in webserver

$ python manage.py migrate --run-syncdb
$ python manage.py createsuperuser
$ python manage.py runserver

Development

You will want to toggle DEBUG on in the site.conf file.


    $ diff -u installTop/etc/djaopsp/site.conf
    -DEBUG = False
    +DEBUG = True

    # Create the tests databases and load test datasets.
    $ make initdb

    # To generate some sample data run:
    $ python manage.py generate_test_data

    # Spins up a dev server that re-compiles the `.css` files
    # on page reload whenever necessary.
    $ python manage.py runserver --nostatic

The app will be accessible at http://localhost:8000/djaopsp

Release Notes

See release notes

djaopsp's People

Contributors

aucontraire avatar deep-chill avatar dwino92 avatar knivets avatar quiaro avatar smirolo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

djaopsp's Issues

Best practice duplication -universal updating

For best practice duplication, one should be able to edit one best practice and elect to update all instances of that best practice in TSP. (Apologies for not realizing this earlier).

Errors adding best practices under the basic section

  • Click the top most "Add best practice..." link inserts the best practice correctly.
  • Click an "Add best practice..." link next to a header inserts the best practice at the bottom instead of under the header.
  • Click the top most "Add best practice..." link, then click an "Add best practice..." link next to a header leads to an exception "TypeError: Cannot read property '1' of null".

There does not seem to be any issues inserting best practices under the sustainability section.

Promote/demote of best practices

Under certain, yet undefined circumstances, if you try to move a best practice one up in a list, it
doesn't change the order of the list as it would be expected.
Current workaround is to move the best practice and drop it on the header to make it first in the list, then do the same to move other best practices above it.

(Ref #4)

Add one more (darker) shade of green to be value assignments

To indicate outstanding actors/ excellence. I have a number of questions like the one below, where it would make sense to have an "outstanding" category.

What percentage of the fleet has been replaced/updated/modified with lower carbon technology:
-- 0 to 10% (would currently get neutral value assignment)
-- 10 to 25% (could get light green)
-- 25 to 50% (medium green)
-- 50 to 75% (dark green)
-- 75 to 100% (new, highest value category to signify excellence. Either make it darker green, or yellow/gold)

Customize text sent when a manager is added

Text:

"You are receiving this email, because you have been added by [insert Profile Manager who did the adding] as a Profile Manager on The Sustainability Project website for your organiza;on’s profile. You can access the account for your organiza;on by clicking on the previous link, or by cuRng and pas;ng the following link into your browser: _[insert link].
As a Profile Manager you able to add to view all informa;on relevant to your organiza;on on The Sustainability Project, and to update the “Self-assessment” and “Improvement planning” tools for your organiza;on. You are also able to invite other par;es to be Profile Managers, Contributors or Viewers of the informa;on in this profile. Contributors are able to help complete the Self Assessment and
Improvement Planning informa;on. Viewers are able to review the organiza;on’s scorecard."

Update scoring

Values assigned to each best practice to indicate relative env. & financial value

color points
Dark green 3
Medium green 2
Light green 1

Values assigned to responses to the question "Is this practice implemented".

answer points
Yes 3
Yes, but needs a little improvement 2
Yes, but needs a lot of improvement 1
No or good as no 0

Resulting score is the multiplication of the color and answer points.

Be able to disable a best practice row from the self-assessment

I am occassionally using a best practice row to create a sub-heading within our blue heading sections. To reduce instances of non-complete self-assessments (and therefore no scorecard display), it would be valuable to be able to disable the self-assessment response options for these rows.

Add self-assessment response options to columns and heading rows

Those completing the self-assessment may have to select the Not Applicable option for all best practices in an entire best practice list e.g. Energy utility > Electric procurement > Transmission > Materials, or for a section within a list. Being able to select Not Applicable at for an entire list of best practices, or a section therein will significantly facilitate ease of completing the self-assessment for those to whome this will apply.

residual rangeUpdate when clicking on toggle

As part as testing fix for #3, I found the following:

  1. Click on a green-shade cell once
  2. Click on the "Profitability" toggle.

The left over of the rangeUpdate controller remains drawn on the screen.

screen shot 2017-04-08 at 11 00 45 pm

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.