https://github.com/rubiii/festive
Rails 4 demo application
https://github.com/rubiii/festive
Last synced: 3 months ago
JSON representation
Rails 4 demo application
- Host: GitHub
- URL: https://github.com/rubiii/festive
- Owner: rubiii
- Created: 2013-09-06T21:43:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-11T08:35:32.000Z (over 11 years ago)
- Last Synced: 2024-12-31T09:44:00.876Z (5 months ago)
- Language: Ruby
- Homepage: http://festive-rails.herokuapp.com/
- Size: 17.3 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Festive
[](http://travis-ci.org/rubiii/festive)
Sample application for importing and displaying the
"[Berliner und Brandenburger Volks- und Straßenfeste 2013](http://daten.berlin.de/datensaetze/berliner-und-brandenburger-volks-und-stra%C3%9Fenfeste-2013)" (fairs and festivals in Berlin and Brandenburg, Germany).## Setup
Prerequisites:
* Ruby 2.0 (+Bundler)
* Node/NPM
* PostgresClone and setup the project:
``` shell
git clone [email protected]:rubiii/festive.git
cd festive
bin/setup
```## Web
The web application is based on Ruby on Rails 4.0. Start the application:
``` shell
bundle exec foreman start
```## Import
The import is a simple Ruby script that can be started as a Rake task:
``` shell
bundle exec rake workers:import
```This imports or updates all data from the public JSON API.
## Tests
To run all Ruby and browser tests:
``` shell
bundle exec rake test
```JavaScript tests are running on Karma:
``` shell
bundle exec rake karma
```