Coder Social home page Coder Social logo

privacy-matters's Introduction

๐Ÿ‘€ Privacy Matters

Check out the site at https://letstalkprivacy.media.mit.edu/.

Installation

Privacy Matters is a static site built using Gatsby.

If you haven't already, install Node Version Manager.

Install and use version node version 12.14.1:

$ nvm install 12.14.1
$ nvm use 12.14.1

Install requirements:

$ npm install

Develop

gatsby develop

Your site is now running at http://localhost:8000.

Editing Content

About page and quotes are sourced from markdown files. Check out this markdown cheatsheet for syntax.

Policy Content

Policy about page content is stored in src/markdown-pages. Edit the corresponding file to change the about page content.

Quotes

Policy quotes are stored in src/markdown-pages/quotes. Update the quote by changing the corresponding file or adding a file.

The frontmatter fields and corresponding values are:

Field Description
quotee Person to credit, e.g. Jane Doe, Engineer
policy One of the following: COPRA, SMART, ONLINE_PRIVACY
responseType One of the following: pro, con, highlight

Quotes will be displayed on the policy's page.

Deploy

To test out your production build of the site (a good thing to do before deploy), the following to build the production page and serve it using a local production-like server:

gatsby build
gatsby serve

When you're ready to deploy the site run the following:

npm run deploy

This runs the static build script and pushes to the gh-pages branch. This is the branch Github Pages are viewed from.

privacy-matters's People

Contributors

dsjen avatar

Stargazers

 avatar

Watchers

Edward L Platt avatar cindyb avatar James Cloos avatar  avatar  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.