Guide

Guide

❀ π”Ύβ„π•†π•Šπ•‹ ❀ 🌟 πˆπ” 🌟 #Φ…Φ…Φ† ɒǟռɒ

Yeah forked:

https://github.com/ghost-iu/Miss-Evie

1. Install docker/podman

Update if necessary : sudo pacman -Syu

Then : $ sudo pacman -S podman

Remove existing docker : $ sudo pacman -Rs docker

2. Configure git

cd && sudo pacman -S git && git clone -j$(nproc --all) https://github.com/ghost-iu/Miss-Evie.git

This will clone the repo and stuff

3. Placing the docker file and configuration of postgres

> Place the docker file in ~/Miss-Evie

$ sudo podman run -it -e POSTGRES_PASSWORD=YOUR_PASS -p 5432 --name db_server postgres:alpine

YOUR_PASS can be anything..

(To remove a container :

$ ssudo podman ps -a

$ sudo podman rm -f CONTAINER_ID

To exit from a container :

Cntrl + p + q)

$ sudo podman run --detach -e POSTGRES_PASSWORD=YOUR_PASS -p 5432 --name db_server postgres:alpine

$ sudo podman exec -it db_server /bin/sh

# createuser -P -s -e YOUR_NAME

# createdb -O YOUR_NAME YOUR_DB_NAME

# psql YOUR_DB_NAME -h localhost -p 5432 YOURNAME

( To exit from postgres shell : cntrl p + cntrl q)

The postgres url will be in the following format:

postgresql://YOUR_NAME:PASSWORD@localhost:5432/YOUR_DB_NAME

4. Configure config.py

4.1 Create a bot from the bot father

4.2 Take its api hash key

4.3 Visit my.telegram.org

4.4 Take tg api key and hash after entering the credentials.

4.5 Open the config.py and create a project, then enter the API's, Owner ID, Postgres Url etc..

4.6 Save the config.py and place it in /Miss-Evie/miss_evie/config.py as the directory.

5. Final step

$ cd ~/Miss-Evie && git pull && sudo podman build -t miss-evie:1.1 .

$ sudo podman run --detach --name evie --network="host" localhost/miss-evie:1.1

$ sudo podman start db_server evie

$ sudo podman cp ~/Miss-Evie/miss_evie/config.py evie:miss_evie/config.py

$ sudo podman start evie

To grab logs :

$ sudo podman logs evie

Report Page