Skip to content

recoilme/verysmartdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Work In Progress

Build

Development

  • run socat (redirect 8080 -> 80) socat TCP-LISTEN:80,fork TCP:127.0.0.1:8090 (needed for auth via telegram locally)
  • remove cookie for 127.0.0.1 (if not first run)
  • use live reload with air (https://github.com/cosmtrek/air): just run air
  • dump db: sqlite3 pb_data/data.db .dump > data.sql
  • dev bot: data-telegram-login="artemiyrobot"
  • prod bot verysmartdogbot
  • bot api key place in tgbot file

UI

ui