New User: Where do I install a KeystoneJS (NodeJS, MongoDB, Express) app?

October 26, 2015 3.3k views
MongoDB Node.js

I want to create a new app using KeystoneJS, which is just an easy way to start a NodeJS/ExpressJS/MongoDB app. I’m having trouble figuring out where to install it. I know the default directory is ’/var/www/html’, but does it make sense to put it in that ‘html’ folder? Is there a way to define what the 'index’ directory is?

1 comment
  • Hi,

    From Keystone’s documentation, it seems like you’re free to create your project anywhere. It may be easiest for organization to use a structure like /var/www/html/ but you could even put it in your user’s home directory without issue.

1 Answer

You can install and run your KeyStoneJS app in any directory you want. It is good practice to setup a seperate user for your project and create/run your project under that user’s home directory.

Have another answer? Share your knowledge.