Coder Social home page Coder Social logo

888strong9 / 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 50.86 MB

Resources for open data and enterprise data inventory management

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

License: Other

JavaScript 4.13% Ruby 8.60% CSS 0.24% HTML 60.41% SCSS 26.63%

resources.data.gov's Introduction

GitHub Actions GitHub Actions

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 3.1.4
  • 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 20

Setup

Install Node.js dependencies.

$ npm install

Install Ruby dependencies ( !WARNING! If you use a mac ensure you install a version manager for ruby to avoid messing up your system ruby installation ).

$ npm run setup

Run the build.

$ npm run build

Run the server

$ npm run start

Open your web browser to localhost:4000.

Test the generated site.

$ npm run 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

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