Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/app/parts
grunt
html
js
less
.editorconfig
.gitattributes
.gitignore
Gruntfile.js
README.md
package.json

README.md

Breadboard Circuits

Installation and Usage

$ git clone https://github.com/cdog/breadboard-circuits.git
$ cd breadboard-circuits
$ npm install grunt-cli -g # install grunt command line interface if not already installed
$ npm install
$ grunt build
$ grunt serve # open http://127.0.0.1:4000/ in your browser
$ grunt clean && grunt build --environment production
$ grunt deploy # push an existing build to gh-pages branch

Migrating data

Migrated data is already included in this repository. To run a migration clone the fritzing-parts repository first then run Grunt migrate task:

$ git clone https://github.com/fritzing/fritzing-parts.git
$ grunt migrate

Before running a migration make sure the migrate task (see Gruntfile.js) is configured properly:

migrate: {
  parts: {
    src: 'fritzing-parts', // migration data source
    dest: 'assets/app/parts' // migrated data
  }
}

To log a migration set the DEBUG environment variable to include all (migrate:*) or specific debug messages (inspect, error, log types are available):

$ DEBUG=migrate:error,log grunt migrate # print error and log messages
$ DEBUG=migrate:inspect grunt migrate # inspect migrated data

Available grunt tasks

  • build (default)
  • clean
  • deploy
  • migrate
  • watch