Question

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

Posted October 26, 2015 3.6k 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.

Submit an Answer