Skip to content

chebarash/Solar

Repository files navigation

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