Nodebeats is an Open Source Content Management System built using MEAN Framework that allows you to create web-applications with ease. It is built on top of a RESTful JSON api. You can easily create custom modules on top of this Content Management System and quickly launch your web application.

This guide will walk you through everything from installing the software to deploying it on various cloud platforms. So, let's get started.

DOCUMENTATION ARTICLES

Set Up Development Environment

We need to configure our system with appropriate tools to run Nodebeats CMS. Since the Nodebeats CMS is based on MEAN Stack, we need to first install Node.js. Along with Node.js, npm (node package manager) is installed that is required to install all the dependencies required for the application to run.

So, let's first install Node.js in our system. 

To install Node.js in your system, download the appropriate software packages based on your Operating System and then install it. Go to https://nodejs.org. If you are in Windows, the installation process is straightforward.

To see the list of all the Node.js packages for different Operating Systems, Go to https://nodejs.org/en/download/current/ and choose the appropriate one and install it.

If you are running Ubuntu Operating system, then follow the following step by step guidelines to install Node.js in your system. We will use the terminal to install latest Node.js in our system. To open a terminal, Press Ctrl + Alt + T. Before doing anything, it is better to run the command sudo apt-get update.

  1. First of all, open the terminal
  2. Run sudo -s command to gain administrator access and type your password.
  3. Now update existing packages and softwares of Ubuntu OS by running the command:
    sudo apt-get update
  4. Now we need to install some packages that are necessary before installing Node.js. Run the following command:
    sudo apt-get install python-software-properties python g++ make
  5. Now go to the https://nodejs.org/en/download/current/ and grab the latest version of Node.js. As of this writing, the Stable version of Node.js is v8.11.3LTS and v10.6.0 Current.
  6. We need to download the Node.js zip file and to do that run the command: wget -c https://nodejs.org/dist/v8.11.3/node-v8.11.3.tar.gz
  7. Locate the zip file and then uncompress it.
  8. We need to uncompress it and to do that run the following command:
    tar -xvf node-v8.11.3.tar.gz
  9. Now navigate to that folder where you uncompressed the zip file.
    cd node-v8.11.3
  10. Run the following command to install the Node.js
    ./configure && make && sudo make install

This will take some time to complete. Once the installation is finished, check the node version using the following command:
node -v

You can also check the npm version using the following command:
npm -v

Once you are done installing Node.js, then it's time to install all the dependencies required for the application to run. For installing all the dependencies required, redirect to the root and admin directories of the cloned project through the terminal and install the dependencies using the following command:
npm install or yarn (if yarn is installed) 

*Note: For installing yarn, use the following command:
npm install yarn

So, let's move on to the next section where we will run the application in the development and production environment.