How to install an example application?
Make a directory (not in www directory of your Apache, Meteor runs on Node.js. Has it's own server). Let's make it in your user directory i.e
greg@ThinkPad:~$ mkdir /home/greg/MeteorWhere greg is your username in your system. Or just
greg@ThinkPad:~$ mkdir ~/MeteorNow get inside...
greg@ThinkPad:~$ cd ~/Meteor...and clone examples from meteor.com:
greg@ThinkPad:~/Meteor$ meteor create --example leaderboardNext enter cloned project's directory and run meteor command to start it on http://localhost:3000
greg@ThinkPad:~/Meteor$ cd leaderboards greg@ThinkPad:~/Meteor/leaderboards$ meteorYou can clone also other examples:
- parties
- todos
- wordplay
It is a good practice to read them line by line, play around with them, change here and there.
Brak komentarzy:
Prześlij komentarz
Your feedback is welcome!