Skip to content

Commit

Permalink
Update install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfspencer committed Sep 29, 2019
1 parent e706eda commit 6cdbc74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ $ cd food-flex-discord
```

#### Setup
Install dependencies (on Debian-based systems):
```bash
$ ./setup.sh
```
Expand Down Expand Up @@ -69,6 +70,7 @@ Go to Discord and turn on Developer Mode. With this, you can now right-click on

### Run the bot
```bash
$ source .venv/bin/activate
$ python3 -m foodflex
```

Expand Down
11 changes: 2 additions & 9 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#!/bin/bash

if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi

sudo apt-get install build-essential python3-dev python3-venv libfreetype6-dev libjpeg-dev zlib1g-dev
python3 -m venv .venv
source .venv/bin/activate
pip install wheel
pip install -r requirements.txt
sudo apt-get install libopenjp2-7
sudo apt install libtiff5
sudo apt install ttf-mscorefonts-installer

0 comments on commit 6cdbc74

Please sign in to comment.