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
Step by step deploy meteor app to Heroku | |
1) Run: | |
$ heroku create [yourappname] --stack cedar --region us --buildpack https://github.com/jordansissel/heroku-buildpack-meteor.git | |
UPDATE: use this buildpack instead | |
heroku buildpacks:set https://github.com/AdmitHub/meteor-buildpack-horse.git | |
UPDATE2: use this build pack to run with iOS and android platforms added | |
https://github.com/Alveoli/meteor-buildpack-horse |
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
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |
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
chrome.app.runtime.onLaunched.addListener(function() { | |
chrome.app.window.create('window.html', { | |
'width': 400, | |
'height': 500 | |
}); | |
}); |
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
<!DOCTYPE html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Data Ticker</title> | |
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" /> | |
</head> | |
<body> | |
<h2>Data Ticker</h2> | |
<div class="awardsScroller"> |