Simplify README
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user