Giter VIP home page Giter VIP logo

des_ncsa's Introduction

DES Data Management (DESDM) public data release website

This repository is the source code for the DESDM public data release website at https://des.ncsa.illinois.edu/.

Workflow for contributing content updates

  1. Install docker and git.
  2. Fork the repo https://github.com/des-labs/des_ncsa to https://github.com/$GITHUB_USER/des_ncsa where $GITHUB_USER is your GitHub account username.
  3. Clone your fork locally and checkout the dev branch.
    CLONE_DIR="$HOME/src/$GITHUB_USER/des_ncsa"
    git clone https://github.com/$GITHUB_USER/des_ncsa $CLONE_DIR
    cd $CLONE_DIR
    git checkout dev
  4. Build the Docker image.
    docker build -t desdm-public:dev .
  5. Configure the webserver to run in "dev" mode.
    docker run --rm --name desdm-public \
      -e APP_ROOT="/" -e JIRA_DEFAULT_ASSIGNEE="" -e BASE_URL="localhost" \
      -p 8080:8080 \
      -v $(pwd):/home/des \
      -v /tmp:/db \
      -u $(id -u) \
      desdm-public:dev \
      python3 vulcan.py --dev
  6. Run the webserver to serve the webpage.
    docker run --rm --name desdm-public \
      -e APP_ROOT="/" -e JIRA_DEFAULT_ASSIGNEE="" -e BASE_URL="localhost" \
      -p 8080:8080 \
      -v $(pwd):/home/des \
      -v /tmp:/db \
      -u $(id -u) \
      desdm-public:dev \
      python3 main.py
  7. Open your browser to http://127.0.0.1:8080 to view the website.
  8. Ensure that the ServiceWorker is not registered. Open your web browser's web development tools. In Firefox, use CTRL+SHIFT+I and go to the Application tab. Disable/remove any ServiceWorker you see listed.
  9. Edit and save the relevant HTML files. Reload the page and see the results. Repeat this step until satisfied.
  10. Commit only the substantive changes to the git repo and push the updates to your GitHub fork. Do not commit the changes related to the "dev mode" configuration.
    git add
    git commit -m 'Updated release page blah'
    git push
  11. Create a pull request to merge and publish your changes. You must inform the DES Science Release community via the #sci-release Slack channel to allow for a peer review of the submission before it can be accepted.

des_ncsa's People

Contributors

mgckind avatar audreykoz avatar manning-ncsa avatar aureliocarnero avatar kadrlica avatar djbrout avatar madamow avatar nsevilla avatar

Watchers

James Cloos 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.