-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from BolunDai0216/master
Updated Documentation Website with Installation Guide
- Loading branch information
Showing
2 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Installation | ||
|
||
To install `miniworld`, the easiest way is to use `pip`: | ||
|
||
```bash | ||
pip install miniworld | ||
``` | ||
|
||
However, if you would like to build on top of `miniworld`, you would need to install it from source. To do this, first clone the repository: | ||
|
||
```bash | ||
git clone https://github.com/Farama-Foundation/Miniworld.git | ||
``` | ||
|
||
Then, install the package: | ||
|
||
```bash | ||
cd Miniworld | ||
python3 -m pip install . | ||
``` | ||
|
||
If you want to install the package in [development mode](https://setuptools.pypa.io/en/latest/userguide/development_mode.html), use the following command instead: | ||
|
||
```bash | ||
python3 -m pip install -e . | ||
``` | ||
|
||
An installation in development mode (i.e., an editable install) is useful if you want to modify the source code of `miniworld` and have your changes take effect immediately. |