This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clone: | |
path: github.com/firrae/project | |
build: | |
test: | |
image: node:6.0.0 | |
commands: | |
- npm i | |
- npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dashboard = React.createClass({ | |
mixins: [ ReactMeteorData ], | |
getMeteorData() { | |
let subscription = Meteor.subscribe( 'newsFeed' ); | |
let page = new ReactiveVar(); | |
page.set(0); | |
return { | |
isLoading: !subscription.ready(), | |
news: News.find({}, {limit: 3, skip: (page.get() * 3), sort: {createdDate: 1}}).fetch(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✘-128 ~/ghost-0.7.1 [master L|✔] | |
14:10 $ git push dokku master | |
Counting objects: 8, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (8/8), done. | |
Writing objects: 100% (8/8), 2.52 KiB | 0 bytes/s, done. | |
Total 8 (delta 4), reused 0 (delta 0) | |
To dokku@*.*.*.*:blog | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to 'dokku@*.*.*.*:blog' |