Otann / inrpk-web

web panel for managing inrpk bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to InRPK bot!

Set up

From your terminal:

npm install

Development

From your terminal:

npm run dev

This starts your app in development mode, rebuilding assets on file changes.

Deployment

Happens automatically via a GitHub hook to letoved.ru

If you change the telegram bot route, here is how to set the webhook:

curl \
  --request POST \
  --url https://api.telegram.org/bot<BOT_TOKEN>/setWebhook \
  --header 'content-type: application/json' \
  --data '{"url": "https://inrpk.letoved.ru/telegram/<ROUTE_SUFFIX>"}'

Take route suffix from the filename. Not the most secure way, but will do for the time being.

About

web panel for managing inrpk bot


Languages

Language:CSS 90.5%Language:TypeScript 9.1%Language:JavaScript 0.3%Language:Dockerfile 0.1%Language:SCSS 0.0%