Skip to content

mozmorris/giggs

Repository files navigation

Giggs Build Status Coverage Status

Giggs combines Create.js and Sinatra. It's a great starting point for building websites where the content can be edited in-line. No more "Edit - Preview - Publish".

Here's the demo. Sign in with test@user.com and password

Giggs also comes with the tools you'd expect from a modern development workflow. Its Grunt configuration follows that of the generator-webapp project. It's been slightly modified to work with servers like Pow & Unicorn.

Project Setup

How do I start working on the project?

  1. Copy the sample .sample.env and update it.
    $ cp .sample.env .env

  2. Install dependencies.
    $ bundle install & npm install & bower install

  3. Run the migrations and seed the db with some data.
    $ rake db:migrate && rake db:seed

  4. Compile and watch assets.
    $ grunt serve

  5. Run your usual rack web server. This example uses the Powder gem to run Pow.
    $ powder link && powder up

Testing

How do I run the project's automated tests?

Specs

$ bundle exec rake

Credit

Sinatra you're awesome.
Create. Thank you Henri

License

MIT © Moz Morris

About

Example of Create.js with a Sinatra & Sequel backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published