On Dec 12, 2014 5:04 PM, "Sachinthya Wagaarachchi" <xco...@gmail.com> wrote:
>
> I am starting to learn Node and MEANJS at the same time, and want to have
a development folder that is independent. I don't know how to go about
it... I have used Mongo and AngulaJS with Pyramid. Here's what I think I
want. (Using linux mint, btw)
>
> + I want an independent environment that doesn't change the system. For
instance, when I develop using Pyramid, I use a python virtual environment
which I can basically delete without effecting the system. I don't know if
Node has something like that.

> + If that's not possible, what's the best way to have sort of two
independent decoupled projects on the same system but with different (and
maybe conflicting) dependancies?

You don't have to see install modules globally, you can install them to the
directory.  That might be the simple solution.  npm install -g installs the
module for the whole system.  Without the g switch (default) it installs
for just the current directory and sub directories.

> + I don't want a virtual machine, just something comparable to venv in
python (http://docs.python-guide.org/en/latest/dev/virtualenvs/)

I'm pretty new to node myself, but I'm not aware of anything similar to
venv.  The local modules takes care of module versions, but not the version
of node itself.

I know you said no virtual machines, but Vagrant is really quite nice to
work with, although it takes a bit of setup.

-John

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAMbK04wsRowPUCh97YisvqmHdP334EH3pD5g%3Dqwgyf7tbwmEHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to