Top

Search

Installation

This page has all the information you will need to setup your project. Here you will get to know what are the things that you will need to install before you start working on your project. Make sure you don't miss a single step.

For Windows

Install Node

Express is a Node framework, thus requiring Node to be installed on your machine.

To install Node on your machine , follow the link https://nodejs.org/en/, and Once it is downloaded execute the bellow command to make sure that node installed in your system

node --version

Aaaand we are done with setting up node in our system, now you can code all you want in node.

For Linux

Step 1: Updating System

Update your system by executing the below given command in your terminal.

sudo apt-get update

Step 2: Install node

Although you already have node installed in your system, as it is included while installing any linux based os, but if it is not included run the following command to install node.

sudo apt install nodejs

Check the version of node through this command:

node -v

Setting Up Cuba

Now that you have installed node in your system its time to setup the cuba theme and start creating you wonderful website.

Step 1: Check Node Version

Make Sure that node is installed in your system by running this command

node --version

If it is not installed then make sure that you install it first by above given steps.

Step 2: Install dependencies

Open the terminal or command prompt and navigate to the folder where you have stored the downloaded cuba project.

npm install

Once you serve your application by default it will take their defalult port so you can open port using localhost://3000

Step 3: run the project

Now that all the dependencies are installed we are ready to run our project in the development server. Run the following command in the terminal:

npm start

open the link http://localhost:3000/ in your browser to view the project.