Giter Site home page Giter Site logo

liuchengwei555 / resources.data.gov Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gsa/resources.data.gov

0.0 0.0 0.0 41.34 MB

Resources for open data and enterprise data inventory management

Home Page: https://resources.data.gov/

License: Other

Ruby 6.13% HTML 38.96% JavaScript 4.30% CSS 0.17% SCSS 50.43%

resources.data.gov's Introduction

CircleCI

resources.data.gov

Resources for open data and enterprise data inventory management.

Usage

Editing content

This site uses Netlify to manage its editorial workflow. Content is added and edited in collections via the Netlify interface, which can be accessed by approved contributors at resources.data.gov/admin. Collections are managed via the config.yml file in pages/admin.

Branches and environments

Environment Branch Description
resources.data.gov main The production instance of r.d.g.
resources-staging.data.gov develop A preview site used for ad-hoc development or significant changes requiring partner review.
* feature branches Feature branches to preview a single change.

Federalist builds all branches and creates previews for them. Two branches are special, main which is automatically deployed by Federalist to resources.data.gov and develop which is used as a staging branch for significant changes.

Deploying to staging is not required. It might be useful for previewing significant changes to the site that require partner review.

Development

Prerequisites

  • Ruby 2.6
  • Bundler 1.17.x (we use an older version for Federalist compatibility)
    • install via gem install bundler -v 1.17.3
    • use version by bundle _1.17.3_ ...
  • Node.js 10

Setup

Install Node.js dependencies.

$ npm install

Install Ruby dependencies.

$ npm run setup

Run the build.

$ npm run build

Run the server

$ npm start

Open your web browser to localhost:4000.

Sanity check the generated site.

$ npm test

Check for broken links.

$ npm run qa

Update dependencies

To update dependencies, you can run bundle update {dependency} after running npm install. Then follow all other development steps above to validate site is working as expected.

resources.data.gov's People

Contributors

adborden avatar amirbey avatar artfulaction avatar bea-ryanbyrnes avatar cantsin avatar chris-macdermaid avatar cleo1963 avatar clingerman avatar crysacarter avatar dependabot[bot] avatar fuhuxia avatar hkdctol avatar jbrown-xentity avatar juliaklindpaintner avatar mogul avatar nickumia-reisys avatar philipashlock avatar pjsharpe07 avatar robert-bryson avatar saracope avatar sawtoothwave avatar snyk-bot avatar wiringa 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.