Simplify README

This commit is contained in:
Tanner Collin 2021-04-22 01:46:19 +00:00
parent 390c3405c3
commit 3c90a09d82

View File

@ -6,7 +6,7 @@ Mosfet is able to farm wood by cutting trees, gather sand, gather netherwart,
and trade with villagers to get emeralds. He can eat, sleep, and flee from and trade with villagers to get emeralds. He can eat, sleep, and flee from
threats. threats.
## Setup ## Linux Setup
Assuming Debian / Ubuntu based distro: Assuming Debian / Ubuntu based distro:
@ -16,18 +16,12 @@ $ sudo apt install build-essential python3 python3-dev python3-pip python3-virtu
$ git clone https://git.tannercollin.com/tanner/minecraft-bot.git $ git clone https://git.tannercollin.com/tanner/minecraft-bot.git
$ cd minecraft-bot/ $ cd minecraft-bot/
$ bash download_mcdata.sh
$ virtualenv -p python3 env
$ source env/bin/activate
(env) $ pip install -r requirements.txt
``` ```
Always make sure the virtual environment is running `(env)`.
## Running ## Running
``` ```
(env) $ USERNAME=you@domain.com PASSWORD=supersecret SERVER=example.com python main.py $ USERNAME=you@domain.com PASSWORD=supersecret SERVER=example.com ./run-linux.sh
``` ```
## Commands ## Commands