Termux Guide for Userge

Important! unlike heroku it will cost everything from you

Prerequisite

Quick Setup

Step By Step:

First of all, Update packages and Install root Repository

pkg update && pkg upgrade
pkg install root-repo

Install Python and necessary packages

pkg install python
pip install -U pip wheel setuptools
pkg install git jq proot resolv-conf libxml2 libxslt libjpeg-turbo

Install Pillow

LDFLAGS="-L/system/lib/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install Pillow

Then Clone Userge and Go to cloned directory

git clone https://github.com/UsergeTeam/Userge Userge && cd Userge

Install Requirements

CFLAGS="-O0" pip install -r requirements.txt

Generate and Fill config.env

cp config.env.sample config.env
nano config.env

Done. Now run Userge

termux-chroot
cd Userge
bash run