cd source_dir
npm i
Download and install checkstyle plugin
Add checkstyle:
Settings
- Editor
- Code style
- Java
- *Gear*
- Import Scheme
- Intellij IDEA code style XML
Add inspections:
Settings
- Editor
- Inspections
- Import profile
Settings
- Build, Execution, Deployment
- Compiler
- Annotation Processors
- Enable annotation process
- true
gradle build
gradle bootRun
Set development profile in application.yml: spring.profiles.active=dev
Download ngrok
Start application in dev
profile
./ngrok http 8090
Make webhook subscription via tamtam bot subscriptions (https://{ngrok_host}/tam/bot/581483330212
)
Proceed to reg bot
89.208.84.173
cc-vpn-user
cbYKaiLGt8Fz5zD5
Ia/obKExB1IgJ/uQP+A5AQBTFG6COymw