🚙 Bot will help to find a dream vehicle
List of supported environment variables
| Name | Description |
|---|---|
HOST |
Web server host |
TELEGRAM_TOKEN |
Telegram API token |
AUTO_RIA_TOKEN |
AutoRia API token |
AUTO_RIA_TOKEN |
AutoRia API token |
Start postgres database
docker-compose up -Vd postgresMigrate database
migrate -path=migrations -database "postgres://postgres:password@localhost/bot?sslmode=disable" upPrerequisites:
Expose your local web server for receiving http requests
ngrok http 80Export ngrok host
export HOST=<host>You can run the bot with command below
go run cmd/bot/main.go --port=80Project released under the terms of the MIT license.