Deployment

Haska handle whole project in localhost environment until next version and we have instruction to deploy your project manually in your localhost and production.

When you finished with your back-end services and endpoints you have to start to deploy and test your project in production. At first for localhost or production environment you have to follow the manual instruction which shows as below in deployment section:

Requirements:

You just have to Install node.js for your desired client as requirement :) and also you have to setup your desired database in your client or server.

Instructions:

Go to your project directory which exist in deployment section by terminal.

$ cd HelloWorld

Install all dependencies for your whole services by:

$ npm install

You have to do second step in dashboard directory that exists in root project directory to install and setup admin dashboard dependencies.

To start rest-ful API services run below script in root directory:

$ node .

To start admin dashboard service run below script in dashboard directory:

$ npm start

Whole services after running your project gonna serve as below URL's:

API BASE URL:

HTTP://127.0.0.1:8000/api

API EXPLORER URL:

HTTP://127.0.0.1:8000/explorer

ADMIN DASHBOARD URL:

HTTP://127.0.0.1:3006

MONITORING SYSTEM URL:

HTTP://127.0.0.1:8080/swagger-status/ui

Before deploy you have to setup your database and set your production database configs in your project locally and assign all models to production database.

We don't support automation integrations in this version and you have to create your own deployment methods. We will support docker as automation tool as soon as possible.

Last updated