Giter VIP home page Giter VIP logo

aqueduct-food's Introduction

Aqueduct Water and Food Security Analyzer

Aqueduct screenshot

Aqueduct is a set of tools developed by World Resources Institute designed to identify and analyze water risk around the world. The Water and Food Security Analyzer provides data and insights into how crops are affected by water resources. For further information see https://www.wri.org/aqueduct

This tool uses the IFPRI IMPACT Model: https://www.ifpri.org/program/impact-model

Getting Started

  1. Install Docker.
  2. Clone the repo.
  3. Copy .env.sample to .env and set variables.
  4. Run docker-compose up. Visit localhost:3040.

Git Flow

  1. Create all new branches by branching off develop.
  2. Open pull requests against develop as well.
  3. Merge branches into develop when they are ready to be deployed for testing.
  4. When a change is ready to be deployed to the production website, merge develop into main.

Deployment

Deploying to staging

  1. Run docker-compose run web yarn build to compile.
  2. Copy the contents of the build directory to the wriorg repo.
    • Make sure you are on the aqueductgr2 branch of the wriorg repo.
    • Copy the build to the wriorg/applications/aqueduct/food directory.
    • This command may work for you too: rsync -a build/ ../wriorg/applications/aqueduct/food/
  3. From the wriorg repo, commit and push changes to the aqueductgr2 branch. Enter your Pantheon password when/if prompted.

Deploying to production

To deploy to production, follow the same steps as above but use the aqueduct-gr branch of the wriorg repo instead of the aqueductgr2 branch. You must then ask WRI staff to merge and promote the update to production.

Aqueduct Repo Directory

aqueduct-food's People

Contributors

aagm avatar afilatore90 avatar andresgnlez avatar clementprdhomme avatar cv-gate avatar davidsingal avatar dependabot[bot] avatar jgoley avatar kfilip94 avatar lbraun avatar mbarrenechea avatar vectorsize avatar zachcmp avatar

Watchers

 avatar  avatar

Forkers

lizsaccoccia

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.