Go to file
Jeff Avallone 6c9f5d4cb6 Fixing label rendering for repetition
Rendering a text element with a string leads to just a <text/> element.
Rendering with an array leads to <text><tspan/></text>. Decided to use
the latter since it matches with the majority of text rendering
currently in use.
2015-09-03 17:08:20 -04:00
lib Integrating canopy (with a demo parser from the canopy docs) 2014-11-24 22:31:20 -05:00
spec Fixing label rendering for repetition 2015-09-03 17:08:20 -04:00
src Fixing label rendering for repetition 2015-09-03 17:08:20 -04:00
.gitignore Adding docco support 2015-04-11 13:59:23 -04:00
.ruby-gemset Adding initial compass integration 2014-11-23 16:16:10 -05:00
.ruby-version Adding initial compass integration 2014-11-23 16:16:10 -05:00
Gemfile Adding initial compass integration 2014-11-23 16:16:10 -05:00
Gemfile.lock Adding initial compass integration 2014-11-23 16:16:10 -05:00
LICENSE.txt Adding basic readme and license 2014-11-23 11:41:53 -05:00
README.md Updating README with documentation build details 2015-04-12 17:03:13 -04:00
config.js Adding a 404 page 2014-12-21 19:59:07 -05:00
gulpfile.js Adding docco support 2015-04-11 13:59:23 -04:00
karma.conf.js Switching Karma test browser to Chrome 2014-12-04 19:11:30 -05:00
package.json Updating package versions 2015-04-19 08:15:11 -04:00
template.html Updating license badge URL to note use redirect 2015-07-05 18:33:22 -04:00

README.md

Regexper

Code for the http://regexper.com/ site.

Contributing

I greatly appreciate any contributions that you may have for the site. Feel free to fork the project and work on any of the reported issues, or let me know about any improvements you think would be beneficial.

When sending pull requests, please keep them focused on a single issue. I would rather deal with a dozen pull requests for a dozen issues with one change each over one pull request fixing a dozen issues. Also, I appreciate tests to be included with feature development, but for minor changes I will probably not put up much of a fuss if they're missing.

Working with the code

Node and Ruby are required for working with this site. It is recommended to use rbenv or rvm to manage your Ruby installation, and configuration files are included to set the Ruby version and gemset.

To start with, install the necessary dependencies for Node and Ruby:

$ bundle install
$ npm install

There are several gulp tasks available to build various parts of the site, but to get started you only need:

$ gulp

This will build the site into the ./build directory, start a local start on port 8080, and begin watching the source files for modifications. The site will automatically be rebuilt when files are changed. Also, if you browser has the LiveReload extension, then the page will be reloaded.

To automatically run Karma test, run the following:

$ gulp karma

To build the site for deployment, run the following:

$ gulp build

The site will be built into the ./build directory.

To build developer documentation, run the following:

$ gulp docs

The documentation will be build into the ./docs directory.

License

See LICENSE.txt file for licensing details.