-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63efa9a
commit 21c50e8
Showing
1 changed file
with
6 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,17 @@ | ||
# build in docker container | ||
docker_build: | ||
docker build . -t kreacher | ||
|
||
# run docker container | ||
docker_run: | ||
docker run kreacher | ||
|
||
# install deps required to run this project | ||
install: | ||
pip3 install --no-deps -U pytgcalls==3.0.0.dev24 tgcalls==3.0.0.dev6 && pip3 install -r requirements.txt | ||
pip install --no-deps -U pytgcalls==3.0.0.dev24 tgcalls==3.0.0.dev6 | ||
pip install -r requirements-dev.txt | ||
pip install -r requirements.txt | ||
|
||
# format files in the project | ||
format: | ||
black . --line-length 79 | ||
black . | ||
|
||
# lint all project looking for issues | ||
lint: | ||
pylint --recursive yes --jobs=4 . | ||
|
||
# generate string session of your telegram account | ||
session_string: | ||
session: | ||
python3 ./session/session.py | ||
|
||
# command to run bot in normal mode | ||
run_bot: | ||
start: | ||
python3 -m bot | ||
|