Skip to content

Commit

Permalink
Add pyenv instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
seansawyer committed Oct 10, 2019
1 parent a12e4f8 commit a2be44c
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,36 @@ A little game I wrote for a talk on roguelike game development in Python at PyAT

### First time setup

Clone and enter the project directory:

```
git clone https://github.com/seansawyer/python-meetup-roguelike.git
cd python-meetup-roguelike
```

Then, if you are using pyenv:

```
pyenv virtualenv 3.7.4 pmrl-3.7.4
pyenv activate pmrl-3.7.4
pip install -r requirements.txt
```

Or if you are using your system Python (3.7+):

```
python3 -m venv ./env
source env/bin/activate
# Now that you're in your virtual environment...
pip install -r requirements.txt
```

Now you may run the application:

```
# In your virtual environment...
python pmrl.py
```

### Upgrade dependencies

```
Expand Down

0 comments on commit a2be44c

Please sign in to comment.