Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kenoir/news-labs-events-prototype
https://github.com/kenoir/news-labs-events-prototype
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kenoir/news-labs-events-prototype
- Owner: kenoir
- Created: 2014-04-02T10:20:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-15T11:43:46.000Z (almost 12 years ago)
- Last Synced: 2024-11-08T21:59:31.022Z (3 months ago)
- Language: JavaScript
- Size: 2.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
BBC News Labs Events Prototype - Background Story
=================================================View [current features](https://www.relishapp.com/bbc-knowlearn/news-labs-events-prototype/docs)
[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/BBC-Knowlearn/news-labs-events-prototype)
Setup
-----You'll need:
- [RVM](https://rvm.io/)
- [Heroku Toolbelt](https://toolbelt.heroku.com/) or just the [foreman gem](https://github.com/ddollar/foreman)In the project directory:
gem install bundler
bundle install
bundle exec rake mockapi
foreman startRunning tests
-------------Using autotest to run everything all the time:
export AUTOFEATURE=true
autotestRake tasks for everything else:
rake default # Default: run cukes & specs.
rake features # Run Cucumber features
rake jasmine # Run JS specs via server
rake jasmine:ci # Run JS specs in continuous integration mode
rake mockapi # Start REST-Assured (Mock API)
rake spec # Run specsWorking with Github
-------------------*Install [hub](http://defunkt.io/hub/)!*
### Working on a feature ###
1. Create an issue describing the change
2. Create a feature branch
3. Write some code
4. Make a pull requestAssociate pull requests with issues like so:
hub pull-request -i $ISSUE_NUMBER -b BBC-Knowlearn:master -h BBC-Knowlearn:$NAME_OF_YOUR_FEATURE_BRANCH
5. Assign a colleague to check the pull request.### Closing a pull request ###
1. Check for a green build on Travis
2. Make sure everything looks ok
3. Close the pull requestDeploying to Heroku
-------------------Deploying from master:
git push heroku master
Deploying from any other branch:git push heroku other_branch:master
More info: [https://devcenter.heroku.com/articles/git#deploying_code](https://devcenter.heroku.com/articles/git#deploying_code)