Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoFalconi committed Nov 17, 2017
1 parent bb075ba commit 038f1c1
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,22 @@ This project goal is to classifie each video game in the dataset by ESRB rating,

### How to run GameRatingsPredictor
**Ubuntu, Debian and macOS users:**
First of all, you need **pip** and **Python** installed.

First of all, you need **pip** and **Python** installed. If you're on Ubuntu or Debian, make sure you have Python Developer installed with `sudo apt-get install python-dev`. If you're on macOS, you can install Homebrew with `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` (you can check it here: https://brew.sh) and then `brew install python`.
1. Upgrade pip to the latest version with `pip install --upgrade pip`.
If you're on Ubuntu or Debian, make sure you have Python Developer installed with `sudo apt-get install python-dev`.

If you're on macOS, you can install Homebrew with `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` or update it with `brew update` (you can check it here: https://brew.sh) and then both Python and pip with `brew install python`.

1. Upgrade pip to the latest version with `pip install --upgrade pip` or `pip2 install --upgrade pip setuptools`.
2. Download the repository and open a terminal inside the root.
3. Run `sudo pip install -r requirements.txt`, it'll install all the required packages.
4. Now you have two options:
1. Run `sudo python setup.py install --record files.txt`. Now you can run the whole project with the command line `algoritmo` anywhere in the terminal.<br>
You can uninstall it with `cat files.txt | xargs rm -rf`.
2. Run the project with `python algoritmo-runner.py` without any installation.

3. Run `sudo pip install -r requirements.txt` or `sudo pip2 install -r requirements.txt`, it will install all the required packages.
4. Run the project with `python algoritmo-runner.py` without any installation.

You're done!
<br><br>

In addition to this, you can install the program so with `sudo python setup.py install --record files.txt`. Now you can run the whole project with the command line `algoritmo` anywhere in the terminal. You can uninstall it with `cat files.txt | xargs rm -rf`.


**Windows users:**
1. Go to https://www.python.org/downloads/windows/, download and run the .exe
2. Download the `get-pip.py` file from https://bootstrap.pypa.io/get-pip.py
Expand Down

0 comments on commit 038f1c1

Please sign in to comment.