Skip to content

Telegram channel that monitors year progress in percents.

Notifications You must be signed in to change notification settings

mikhailsdv/year-progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

year-progress

Telegram channel that monitors year progress in percents.

This project is hosted on Deta Micros. It uses Deta Base to save the progress state and Deta Cron to execute the script every 2 minutes.

How to set up?

  1. Read the docs;
  2. Install Deta CLI;
  3. Create new Micro and enable visor:
deta new --node year-progress
deta visor enable
  1. Clone repo files into just-created folder:
git clone https://github.com/mikhailsdv/year-progress.git
  1. Go to the root folder and install dependencies:
npm i
  1. In the root folder, rename .env.example to .env. Open it with your code editor and fill the missing variables. All the variables are well-commented. Then update your Micro's environment variables:
deta update -e .env
  1. Set a cron job to automatically execute the script every 2 minutes:
deta cron set "0/2 * * * ? *"

That's it. If nothing works, try running your code manually:

node src/test.js

... or take a look at your Micro's visor.

Links

About

Telegram channel that monitors year progress in percents.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published