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/
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
Navigate into cloned repository folder
$ 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
Domain / URL
Database
Email SMTP
SSL Setup
Last updated
Was this helpful?