Monday, 21 May 2012

workng with meteor

Try it yourself In about 3 minutes, you'll make your own copy of Leaderboard and deploy it live on the Internet for you and your friends to use. No programming knowledge required! Pick a name for your new app. I'll call it... .meteor.com new suggestion Install Meteor (if you haven't already). In your Terminal window, run: $ curl install.meteor.com | sh Make a copy of the example. $ meteor create --example leaderboard Get it running on the cloud. $ cd leaderboard $ meteor deploy testing-app.meteor.com Now, open testing-app.meteor.com in a new tab in your web browser. There's your app!
➜ Development cd JavaScripts
➜ JavaScripts curl install.meteor.com | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5238 0 5238 0 0 4497 0 --:--:-- 0:00:01 --:--:-- 7580
Installing Meteor to /usr/local/meteor
... downloading
######################################################################## 100.0%
Meteor installed! To get started fast:
$ meteor create ~/my_cool_app
$ cd ~/my_cool_app
$ meteor
Or see the docs at:
docs.meteor.com
➜ JavaScripts meteor create --example leaderboard
leaderboard: created.
To run your new app:
cd leaderboard
meteor
➜ JavaScripts cd leaderboard
➜ leaderboard meteor deploy testing-app.meteor.com
zsh: correct 'meteor' to '.meteor' [nyae]? n
Deploying to testing-app.meteor.com. Bundling ... uploading ... done.
Now serving at testing-app.meteor.com
➜ leaderboard
view raw gistfile1.txt hosted with ❤ by GitHub
http://meteor.com/examples/leaderboard

No comments:

Post a Comment