First steps

Setup

Git

Setup a new project by cloning the repository:

$ git clone https://[ NESULA REPO ]

After installation check the Nesula folders have the right user and group permissions

Database

Nesula requires a Postgres database for the NestJS TypeORM part of the application to compile. Create a new empty database and add the details to the .env files.

Environment Configuration

Assuming your inital setup is for a development environment you shoud update the following envrionment files with database settings and mail gateway:

/var/www/domain.com/Nesula/angular-app/src/environments/environment.dev  [ Angular ]
/var/www/domain.com/Nesula/nest-api/.env.dev                             { NestJS ]  

Install packages & Build

Install neccesary npm packages

Angular

$ cd /var/www/domain.com/Nesula/angular-app
$ npm install
$ npm run start:dev

NestJS

$ cd /var/www/domain.com/Nesula/nest-api
$ npm install
$ npm run start:dev

Start App

Last updated

Was this helpful?