Mongo express
In order for the system to find the static resources that come as standard in the Mongo Express distribution, in such a way that the situation is adapted to the public/ directory from which they will be served, we must execute this command:.Now we have to prepare the static files and the connection configuration. With this, we'll have everything we need installed. Now npm will install the necessary modules: npm install Now you must enter the nodejs/mexpress directory and clone the application:Ĭd ~/nodejs/ rm -rf mexpress git clone mexpress cd mexpress Now you just need to log in via ssh to your hosting plan to launch the application.
Today it is possible to use the latest LTS version of this software to launch this application, so you can use version 6 of this software. Once you have created your domain, you must create the nodejs application from the hosting panel.call it also mexpress. Therefore, the subdomain will be called.
This subdomain will be called " mexpress" throughout this guide. This guide, developed around August 2017, is intended for version 0.42.1 of Mongo Express, which is a MongoDB collection management tool.įirst we must create a subdomain to host the application. The general concepts remain valid for any application, but the specific steps apply to the service. If you have reached this guide through a search engine, please note that this guide is intended for accommodation services nodejs from.