Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (24 loc) · 717 Bytes

readme.md

File metadata and controls

34 lines (24 loc) · 717 Bytes

lucas-telegram

Usage

$ yarn
$ source .env-dev
$ yarn dev

Deployment

Zeit's now

now.sh is a host capable of serving node.js apps it has a command line tool to help with deployment and scale of services.

$ now remove lucas-dev
$ now --public --local-config now-dev.json
$ now alias --local-config now-dev.json

This bot wont work with multiple instances, and the now.json config files are set to launch on only one region with 1 instance max. But if for some reason now.sh tries to scale the server for you and raise the number of instances you can scale down manually with:

$ now scale xxxxx.now.sh bru 0 0 
$ now scale xxxxx.now.sh sfo 1 1