John x
John x

Reputation: 4031

How to manage Node.js application on Linux (Fedora-15)

I have started to learn Node.js i have installed node.js, mongodb and the mongojs as described in the Blog Post. I am using Fedora 15, i'm new to this linux environment, can anybody guide me how to manage the application on my machine, i have a background of working with the microsoft web stack and i am used to the IDE, i'm finding it difficult to usderstand the directory structure of linux, where i'm going to put my files how i'm going to structure an application when using node.js...


i hope i have asked the question in right place or should i have asked it on Programmer.stackexchange? Plz don' say that i shouldn't have asked it in first place...

Upvotes: 0

Views: 429

Answers (1)

freakish
freakish

Reputation: 56517

Oh, since your question actually received an upvote I will answer it. :-)

As I wrote in comments these links are good to start:

tuxfiles.org/linuxhelp/linuxdir.html

tuxfiles.org/linuxhelp/shell.html

tuxfiles.org/linuxhelp/linuxfiles.html

Or just google for "Linux tutorial", "Linux basics", etc. and read EVERYTHING you'll see.

Now when you will get a bit more familiar with the files structure you should do the following: go to /home/username and create a directory there for your app. Then you just add files in there.

There are several reasons for doing this but the most important is permissions. You don't want to give to much permissions to your app because of the risk of hacker's attack.

Good luck and have fun with Linux and Node.js.

Upvotes: 1

Related Questions