Public | Automated Build

Last pushed: 5 days ago
Short Description
0div0 React website.
Full Description

0div0 Quickstart

To use this project it's important to do some preparation:

  1. Add a line to /etc/hosts:

  2. Install nginx

    sudo apt-get install nginx

  3. Copy modified nginx config:

    sudo cp doc/nginx.conf /etc/nginx

  4. Restart nginx:

    sudo service nginx restart

  5. Review instructions below and get the basics to work.

  6. Start Ruby. For instance, if you installed rvm:
    source /home/[your user directory]/.rvm/scripts/rvm

  7. Run:

    gulp watch

[Note: if you have previously gotten things running, remember to start Ruby before working: source /home/<yourusername>/.rvm/scripts/rvm]

in one shell and


in another. Then, open two browser windows: one to:

and another to:

Now, try logging in and out of the backend website using the dev links while
alternately hitting reload in the frontend website. Notice that the blue
login indicator changes in response to the current login state. This
communication happens through an XMLHttpRequest sent from the browser to
the backend server via JSON.

Coffee React Quickstart

Quickstart for creating React.js web applications.

It has a number of nice goodies baked in including:

  • Live reloading for both CSS and Javascript! This really speeds up development. Live reloading is powered by the Webpack module bundler and react-hot-loader projects.
  • Write your JSX in Coffeescript thanks to coffee-react-transform.
  • Amazing URL-driven-development (UDD) with the react-router project.
  • Uses Gulp for building CSS and Javascript. Run gulp watch for rebuilding css/js on the fly while developing and gulp build to create minified versions for deploying to production.
  • Includes sensible element stylings and several useful Sass plugins:
    • <a href="">Susy</a>: best-of-breed grid system.
    • <a href="">modular-scale</a>: easily create pleasing modular type scales.
    • <a href="">Sassy Buttons</a>: flexible button styling.
    • <a href="">Breakpoint</a>: Super simple media queries.

Install dependencies

Clone this repo and then after entering the new directory run npm install and bundle install. This will install the respective NPM and Ruby Gem dependencies.

You'll also need to have gulp installed globally to run the coffeescript gulpfile: npm install -g gulp


Run in the root of your directory: npm run watch

This will watch the src directories and build on changes and placed the built css and js files in the public directory. It'll serve everything in the /public directory at localhost:8080

Then try editing src/scripts/hello_world.cjsx and see your changes magically show up in your browser with no page reload!

Production build

To build for production, simply run gulp build


Try out the example app included with this quickstart:

Docker Pull Command
Source Repository