user1598400
user1598400

Reputation: 65

Can I run Meteor from two paths?

How do I clone and run auth branch with my app, installed at [SRH/meteor/myapp], in addition to having master meteor installed in [usr/local/meteor]?

After having cloned the auth branch, when I attempt to add a package to my app (via meteor add accounts-ui), an error states the package is not available. Clearly, it is looking for the package at: [usr/local/meteor], while I am attempting to run meteor from [SRH/meteor].

Is it OK to have meteor installed at two locations? Obviously, I am confused.

More specifically, how do I clone the auth branch directly to [usr/local] location? Note: I am a newbie to git cloning. Took me a long time to find a tip on how to clone a branch, using: git clone -b auth git://github.com/meteor/meteor.git

Thanks!

Upvotes: 1

Views: 206

Answers (1)

Tom Coleman
Tom Coleman

Reputation: 3037

You can do one of two things.

  1. Clone the auth branch to a location (as you have described) and then run meteor via

    ../../path/to/cloned/auth/branch/meteor run
    
  2. Use meteorite which was basically created to do this for you.

Upvotes: 1

Related Questions