Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 571 Bytes

README.md

File metadata and controls

34 lines (29 loc) · 571 Bytes

Solar Plugin Backend

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo
    git clone https://github.com/chebarash/Solar.git
  2. Install NPM packages
    npm install

Build and launch

  1. Setup environment following variables
    APP_PORT=<port>
    BOT=<telegram bot token>
    ADMIN=<telegram chat id>
    DB_CONNECTION_STRING=<mongodb url>
    NODE_ENV=production
  2. Build
    npm run build
  3. Launch
    npm start