Giter VIP home page Giter VIP logo

chainpoint-org's Introduction

Chainpoint.org Chainpoint.org Website

Development

Clone the repo and install dependencies

git clone [email protected]:chainpoint/chainpoint-org.git && cd chainpoint-org

Install dependencies

yarn install

or

npm install

Make sure that you have the Gatsby CLI program installed:

npm install --global gatsby-cli

Then you can run it by:

cd chainpoint-org
gatsby develop

If you plan on deploying your changes, create and switch to a bugfix or feature branch

git checkout -b feature/<cool-descriptive-branch-name>

Directory Structure

.
├── components - all react components which are not pages
│   ├── Example.jsx
│   ├── Footer.jsx
│   └── Header.jsx
├── content - json files to be imported to content blocks
│   └── example-v1.json
├── images - all images
├── layouts - app layout
│   └── index.js
├── pages - page layouts*
│   ├── 404.js
│   └── index.js
└── styles - scss files, all included in main.scss
    ├── components - page & component level styles
    │   └── _home.scss
    ├── global - shared styles
    │   └── _global.scss
    ├── libs - cloned scss libraries that aren't on npm
    │   ├── quantum-colors
    │   └── quantum-shadows
    │       ├── LICENSE
    │       ├── README.md
    │       ├── _quantum-shadows.scss
    ├── main.scss
    └── utils - helper scss functions
        └── _utils.scss

Build and Deploy

The website is hosted on Netlify and all updates to the master branch are deployed to the live site immediately. For that reason, we NEVER push directly to the master branch.

First, test the build locally by running

gatsby build && gatsby serve

If it all looks good, push your local feature or bugfix branch to github (never to master) and open a pull request against master. This will create a Deploy Preview on Netlify that the team will deploy when ready.

chainpoint-org's People

Contributors

adamevers avatar brbcoding avatar

Watchers

 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.