Giter VIP home page Giter VIP logo

blockstack.org's Introduction

Blockstack Site

Slack

A live version of this site can be found online at https://blockstack.org.

Installation

git clone --recursive [email protected]:blockstack/blockstack.org.git
npm install

Clone this repo locally, then run npm install from the root directory.

Development

npm run dev

To run the site in development mode, run npm run dev (this may require installing Gulp globally npm install gulp -g). Your browser will automatically be opened and directed to the browser-sync proxy address.

Now that npm run dev is running, the server is up as well and serving files from the /build directory. Any changes in the /app directory will be automatically processed by Gulp and the changes will be injected to any open browsers pointed at the proxy address.

Documentation

This repo uses Git Submodules for documentation and links to the blockstack repo. Everytime you start up the server, new changes will be pulled automatically from the github.com/blockstack/blockstack repo. You can force this update with the following:

npm run fetch-docs

For simplicity, please make any edits to the .md files directly in the /blockstack/blockstack repo instead of the document in the included submodule.

Upgrading Blockstack Bootstrap

Periodically you may need to update to the latest version of Blockstack's Bootstrap fork.

Install the latest version of blockstack-bootstrap by running the following:

npm install bootstrap

Contributing to Blockstack Bootstrap

If you'd like to update the UI framework for Blockstack, you can do so by visiting the Blockstack Bootstrap repo and submitting pull requests there.

Note: when you submit pull requests from your fork, make sure you select blockstack/blockstack-bootstrap as the base fork.

Deployment

npm run prod
firebase deploy

To prepare assets for production, run gulp prod. This will fill the /build directory with the full site.

Note: the production task does not fire up the browser-sync server and won't provide you with browser-sync's live reloading. Simply use gulp dev during development to utilize this functionality.

Once the build has been produced, deploy the site to firebase by running firebase deploy.

Languages and Tools

  • ReactJS (along with React Router and RefluxJS)
  • SASS
  • Gulp (using best practices from Gulp Starter)
  • Browserify

More Info

For more in-depth information on any of the steps or libraries use, see the development guide:

Development Guide

blockstack.org's People

Contributors

bshouse avatar denisnazarov avatar dionyziz avatar elimisteve avatar estermer avatar guylepage3 avatar hunterlester avatar jcnelson avatar john-light avatar larrysalibra avatar localjo avatar muneeb-ali avatar shea256 avatar stemby avatar thibauld avatar tthsn avatar vsund avatar

Watchers

 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.