ProstoDiary

Build Status dependencies Status devDependencies Status Known Vulnerabilities codecov Maintainability GitHub code size in bytes GitHub repo size GitHub commit activity Website GitHub sketchboard Trello OpenAPI Issuehunt

About

Virtual trackers: text diary, email listener, food analyze, health watcher, sleep analyze

Install

Dev only

brew install graphviz
brew install git-lfs
brew install redis
brew install memcached
git lfs clone git@github.com:gotois/ProstoDiary_bot.git
chmod +x scripts/index
chmod +x scripts/pre-install
npm i
scripts/pre-install

Tests

Unit

Checking Unit tests

npm run unit

E2E

Match files

Example:

npm run e2e:fast -- --match='/start'

Example match titles starting with API:

npm run e2e -- --match='API:*'

Run

Development

npm run dev

Production Telegram Bot

npm start

Create new assistant

1) ```bash npm run start:new-assistant

2) Open server page `/marketplace/refresh`
3) Reload server

Tools
---
#### Package upgrade
```bash
ncu -u

Fix lint

npm run lint -- --fix --quite

Show dependencies graph

npm run depcruise

Validate dependencies

npm run lint:dependency

docs only Dev

Install

sudo gem install bundler jekyll
cd docs
bundle install

Run

npm run docs:serve

Run Telegram Bot

Возможности управления системой используя текст 1) something text - Запись. Используется по-умолчанию 2) ? something search - Поиск 3) ! something execute - Выполнение поручения 4) /command - API command


With ❤️