Question

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

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?

Subscribe
Share

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.