Files: Git

Add a new Nesula instance to an Ubuntu Server

Site Setup

Create Site Folder

Make a folder to hold the application code:

$ mkdir /var/www/nesula.ifactory.co/ 

If you are using GitHub you have the option of forking the Nesula repository to your GitHub account. You may then clone from your own Nesula repository.

Clone Nesula Repository

Install the Nesula base application by cloning the Nesula repository:

Navigate to website folder:

$ cd /var/www/nesula.ifactory.co

Clone the Nesula repository.

$ git clone https://github.com/nesula/nesula.git

New Repository Setup - Optional

Create new Repository

In GitHub, GitLab or Bitbucket create a new repository. For Example:

https://github.com/my-company/my-new-nesula.git

Set cloned Nesula repository remote to new GitHub repository

$ cd /var/www/nesula.ifactory.co/nesula

View existing remote

$ git remote -v
origin  https://github.com/nesula/nesula.git (fetch)
origin  https://github.com/nesula/nesula.git (push) 

Set Repository remote to new origin

The cloned repository is set to push and pull from the public repository. Change the remote so push & pull forward to the new remote repository:

$ git remote set-url origin https://github.com/my-company/my-new-nesula.git

Verify new remote

$ git remote -v
origin  https://github.com/my-company/my-new-nesula.git (fetch)
origin  https://github.com/my-company/my-new-nesula.git (push)

.Env configuration

Before Nesula can be built sever configuration options must be set:

Must

  1. Domain / URL

  2. Database

  3. Email SMTP

SSL Setup

Last updated

Was this helpful?