v2.2 is under development (which brings early pieces of Greed Island & FlashOverflow)
An officer robot for Python UZBEKISTAN Community.
Made of Python & Made for Python
Home page: hops.nurboyev.uz
- Install docker & docker-compose
- create
.env
file in root project directory - add these values to
.env
:BOT_TOKEN
- token of YOUR botMAIN_GROUP_ID
- chat id of your main Telegram groupTEST_GROUP_ID
- chat id of your test groupBOARD_GROUP_ID
- chat id of group for managementDEV_ID
- ID of YOUR Telegram accountTELEGRAPH_TOKEN
- Telegraph tokenSECRET_KEY
- secret key of django projectHOSTS
- allowed hostsCONTROL_PAGE_URL
- url name for admin panel, e.g:admin/
DOMAIN_URL
- main domain URL with schema included, e.g:http://hops.nurboyev.uz
orhttp://127.0.0.1:1243
for local developmentPROD
- leave empty for DEBUG mode, give anything to enable production mode & disable DEBUG
- run
docker-compose up -d --build
- run
docker-compose exec core python manage.py collectstatic
- run
docker-compose exec core python manage.py makemigrations
- run
docker-compose exec core python manage.py migrate
- run
docker-compose exec core python manage.py createsuperuser
- you may need ngrok to run bot locally, it helps you expose your local machine to internet, so you can use webhook locally.
- God bless you and may give you great patience