Meteor command not running c9 - meteor

I have cloned the meteor repository from github to c9. But when I type meteor in the console it reads -- bash: meteor: command not found.

You should "Create a new workspace" that clone from https://github.com/meteor/meteor.git.
After it's completed, using curl https://install.meteor.com/ | sh.
You could run your project by meteor run --port=$IP:$PORT if you have a problem about PORT and IP.
P/s: I solved it by this way!
#Source: Meteor with cloud9

Related

Install built meteor package

I built the meteor package as follow:
meteor build /tmp
It built the jar.gz file.
Now How do install this on different server?
Thanks
upload the tar file using ftp or scp on the terminal.
untar it on the server
cd bundle/programs/server
npm install
node bundle/main.js
Additional info:
use pm2 on the server so you can manage the node process seamlessly.
OR
use forever to run your app even if you quit the terminal.

Can't check Meteor Version in Terminal

[react-pocketscholar (master)]$ meteor --version
/Users/ftrflyr/.meteor/packages/meteor-tool/.1.3.4_3.1v4v008++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:165
throw error;
^
Error: EEXIST, symlink '/Users/ftrflyr/.meteor/packages/meteor-tool/.1.3.4_3.1v4v008++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle'
[react-pocketscholar (master)]$ meteor -v
/Users/ftrflyr/.meteor/packages/meteor-tool/.1.3.4_3.1v4v008++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:165
throw error;
^
Error: EEXIST, symlink '/Users/ftrflyr/.meteor/packages/meteor-tool/.1.3.4_3.1v4v008++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle'
1. Global tool version of meteor command
Find version by:
meteor --version
2. Project version of meteor
A project stays at the meteor version which it was created with unless manually upgraded. Find this by running:
cat .meteor/release
Another way to do this is to open up your Javascript console in the browser and type:
console.log(Meteor);
This is very useful for me as I'm running Ubuntu on a Chromebook so I don't need to stop my local server to check which version I'm currently running.
Please note the server does need to be running (localhost:3000) for this command to work.
You have to be in a meteor project repository and type meteor --version

Unable to run any Meteor app

Recently I have discovered the Meteor framework and wanted to run some examples on my machine. I've done the following steps:
curl https://install.meteor.com/ | sh
meteor create myapp
cd myapp
meteor
And as a result I get:
[[[[[ ~/workspace/myapp ]]]]]
=> Started proxy.
/home/marcin/.meteor/packages/meteor-tool/.1.0.38.ieqxkv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
throw(ex);
^
SyntaxError: Unexpected end of input
at Object.parse (native)
at readSessionData (/home/marcin/.meteor/packages/meteor-tool/.1.0.38.ieqxkv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/auth.js:136:15)
at Object.exports.getSessionId (/home/marcin/.meteor/packages/meteor-tool/.1.0.38.ieqxkv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/auth.js:1029:32)
at /home/marcin/.meteor/packages/meteor-tool/.1.0.38.ieqxkv++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/stats.js:66:23
I tried to reinstall Meteor and meteor reset but it won't help. I removed the app and created a new one but the problem still occurs. I managed to run the examples finally using Vagrant, but this is only some workaround and not a solution to the real problem. I have no idea why a fresh install of Meteor won't work on my machine. I am running 64bit Ubuntu 14.04. I'd appreciate any help with this.
As #imslavko said, the solution to this problem is to remove the meteor session file: rm ~/.meteorsession.
This is a shot in the dark, but can you do an update from within the project directory?
meteor update
try this command
$ meteor -p 3006
open port her and go to localhost:meteor -p 3006

How to deploy a meteor application to my website

I've downloaded telescope from github and I'm trying to install it on my website.
unfortunately I don't know how? I tried it on my mac with no problems
git clone git#github.com:TelescopeJS/Telescope.git
And
curl https://install.meteor.com/ | sh
To deploy use meteor deploy to deploy to the meteor servers.
Look at mup by arunoda for deploying to your own server.
There's also demetorizer.

How to install postgresql on heroku?

I want to install wordpress on heroku and follow this tutorial(https://github.com/mhoofman/wordpress-heroku) I downloaded the toolbelt of heroku and got the git repo on my disk I also created a heroku account but when I want to add postgresql to it i get:
$ heroku addons:add heroku-postgresql:dev
! autoupdate in progress
! No app specified.
! Run this command from an app folder or specify which app to use with --app
<app name>
Why I do everything as stated in the tutorial;?
I appreciate your answer
Ok got it!!! I thought to complicated!!! I had to create an app first;P

Resources