Text diary, food analyze, health watcher, sleep analyze
Dev only
npm i
chmod +x scripts/prepare
scripts/prepareFor HTTPS
Add host for local development
127.0.0.1 bot.lh
mkdir cert;
openssl req -x509 -newkey rsa:2048 -keyout certs/server/bot-key.pem -out certs/server/bot-cert.pem -days 365 -nodes -subj "/CN=bot.lh" -addext "subjectAltName=DNS:bot.lh"
For MacOS add certificate to trusted
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain certs/server/bot-cert.pem
Run dev server
npm run dev:secureCreate a .env file and write:
TELEGRAM_TOKEN
TELEGRAM_DOMAIN
SECRETARY_HOST
APP_URL
npm run test:unit [-- --watch]
#npm run test:unit [-- --match='config']ncu -unpm run lint -- --fix --quitebrew install graphviz
npm run report:dependencynpm run lint:dependencyInstall
sudo gem install bundler jekyll
cd docs
bundle installRun
npm run dev:docsdocker compose --env-file .env up --builddocker compose --env-file .env up -dВозможности управления системой
something text- Уведомление? something search- Поиск! something execute- Выполнение поручения
Make with Manifest GIC DAO.