Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommend using Python venv module to create venv #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Esto lo podes hacer hablandole a @BotFather que es el "Bot padre de todos los bo
Una vez creado el bot, deberías tener un TOKEN\_PERSONAL (BotFather te lo da en el mismo proceso de
creación).

Despues instala el paquete en modo desarrollo en un virtualenv
Despues instala el paquete en modo desarrollo en un virtual environment

~~~bash
virtualenv -p python3 venv
python3 -m venv venv
source venv/bin/activate
pip install -e '.[dev]'
~~~
Expand All @@ -34,7 +34,7 @@ y estas listo para trabajar.

## Testeo

Para correr el bot ejecutá (desde el virtualenv):
Para correr el bot ejecutá (con el virtual environment activado):

~~~bash
TOKEN='TOKEN_PERSONAL' PYCAMP_BOT_MASTER_KEY='KEY' python bin/run_bot.py
Expand Down