Git Product home page Git Product logo

blue-pencil's Introduction

Blue Pencil

Blue Pencil allows you to collaboratively manage data that's stored on Github through a simple form. These forms are public and editing suggestions can be made anonymously. The approval process is fully handled through Pull Requests and is restricted to those with write access to the project.

To set this up, you need to run three projects:

  1. This repo contains the client side app that serves the form
  2. Blue Pencil server creates the Pull Requests and handles authentication with Github
  3. Blue Pencil data is the repo where example data and form configuration is stored.

This project is under active development. To get a sense of the roadmap or contribute, please use the issue queue.

Development environment

To set up the development environment for this website, you'll need to install the following on your system:

  • Node (v4.2.x) & Npm (nvm usage is advised)

The versions mentioned are the ones used during development. It could work with newer ones. Run nvm use to activate the correct version.

After these basic requirements are met, run the following commands in the website's folder:

$ npm install

Server

This app requires communication with a server which can be found in the blue-pencil-server repo. After running a local copy add the address to config/production.js:

  api: 'http://localhost:[port]'

Getting started

$ npm run serve

or

$ gulp serve

Compiles the sass files, javascript, and launches the server making the site available at http://localhost:3000/ The system will watch files and execute tasks whenever one of them changes. The site will automatically refresh since it is bundled with livereload.

Other commands

Compile the sass files, javascript... Use this instead of gulp serve if you don't want to watch.

$ npm run build

or

$ gulp

blue-pencil's People

Contributors

danielfdsilva avatar olafveerman 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.