Giter VIP home page Giter VIP logo

nsis-tool's Introduction

IGNITE Nutrition-Sensitive Intervention Selection Tool The Nutrition-Sensitive Intervention Selection (NSIS) Tool is an interactive webapp that provides suggested nutrition integrations for over 50 common food and market systems activities.

IGNITE Overview

The Impacting Gender & Nutrition through Innovative Technical Exchange in Agriculture (IGNITE) mechanism is a five-year investment funded by the Bill & Melinda Gates Foundation and implemented by Tanager, Laterite, and 60 Decibels to strengthen African institutions’ ability to integrate nutrition and gender into their way of doing business and their agriculture interventions.

IGNITE also identifies models that demonstrate ways of effectively and efficiently increasing both equitable consumption of safe, affordable, nutritious diets year-round and increased women’s empowerment in agriculture, and cultivates networks of local service providers to reach greater nutrition impact and gender equality in agriculture through ongoing technical assistance.

App Structure

The NSIS Tool works primarily through a series of templates that take in some data, and are composed to create the final UI. The data is grouped and structured as follows:

Sectors > SectorAreas > Activities > Nutrition Interventions and Gender Integrations

The location and format of this data is described below in Editing the Data.

Editing the Data

The data that makes up the NSIS Tool is located primarily with in the /src/data directory where it is split into three different files. The following links take you to documentation explaining each of these three data files in detail.

Note: The placement of commas is important when editing these files. Each explanation also indicates where to place and avoid placing commas.

Updating the App:

Prerequisites:

  • Install npm
  • Install git
  • Install some kind of sftp

Steps to Update

Note: Unless otherwise stated, these are to be entered into a terminal/command line:

  1. Open a terminal and navigate to the directory you want to work in, e.g. cd ~/projects/tanager-nsis-tool

  2. From the directory of your computer where you want to work with the code, run: git clone https://github.com/rileyjbauer/nsis-tool.git

  3. Install all Node dependencies with npm npm install

  4. Make any desired changes, referring to Editing the Data above. Local changes can be viewed by running npm start and navigating in a web browser to: http://localhost:3000/tools/interactive_nsis_tool/

  5. When satisfied with your changes, build a minified production version of the app using: npm run build. This result of this will be placed into your_nsis_tool_root_directory/tools/interactive_nsis_tool

  6. Using some form of SFTP, connect to the staging (or production) site

  7. Delete tools/interactive_nsis_tool from the server

  8. Move the entire your_nsis_tool_root_directory/tools/interactive_nsis_tool from your computer to the tools directory on the server

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.