Browse Source

Mise à jour des instruction et du gitignore pour vscode

tags/v1.0-light^2
Fabien 3 years ago
parent
commit
de5f020e0e
2 changed files with 11 additions and 3 deletions
  1. +1
    -1
      .gitignore
  2. +10
    -2
      README.md

+ 1
- 1
.gitignore View File

@@ -101,7 +101,7 @@ celerybeat.pid


# SageMath parsed files # SageMath parsed files
*.sage.py *.sage.py
.vscode
# Environments # Environments
.env .env
.venv .venv


+ 10
- 2
README.md View File

@@ -2,10 +2,18 @@


Un génie rebondissant dans un monde oriental Un génie rebondissant dans un monde oriental


pour faire fonctionner en environnement virtuel :
pour faire fonctionner en environnement virtuel sous linux :
```bash ```bash
python3 -m virtualenv env python3 -m virtualenv env
. env/bin/activate . env/bin/activate
pip install pygame pip install pygame
pip install --no-deps pgzero pip install --no-deps pgzero
python aladdin.py
python aladdin.py

sous windows (vous devez avoir installé virtualenv avec `pip install virtualenv`):
```powershell
virtualenv env
.\\env\\Script\\activate
pip install pygame
pip install --no-deps pgzero
python aladdin.py

Loading…
Cancel
Save