ProstoDiary
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 test:unit [-- --watch]
E2E
Match files
Example:
npm run test:e2e:fast -- --match='/start'
Example match titles starting with API:
npm run test:e2e -- --match='API:*'
Run
Development
npm run dev
Production Telegram Bot
npm start
Create new assistant
1) npm run start:new-assistant
2) Open server page /marketplace/refresh
3) Reload server
Tools
Package upgrade
ncu -u
Fix lint
npm run lint -- --fix --quite
Show dependencies graph
npm run report:dependency
Validate dependencies
npm run lint:dependency
docs only Dev
Install
sudo gem install bundler jekyll
cd docs
bundle install
Run
npm run dev:docs
Run Telegram Bot
Возможности управления системой используя текст
1) something text
- Запись. Используется по-умолчанию
2) ? something search
- Поиск
3) ! something execute
- Выполнение поручения
4) /command
- API command
With ❤️