Update setup dev env document (#3)

* python34 => python36

* add upgrade pip step before run setup

* add gcc install for yum

* no need to do pip upgrade
This commit is contained in:
Jason Hu 2018-05-01 06:02:35 -07:00 committed by Paulus Schoutsen
parent 421cc24761
commit 4142ad8ef3

View File

@ -20,7 +20,7 @@ In order to run `script/setup` below you will need some more dependencies.
$ sudo apt-get install libssl-dev libxml2-dev libxslt1-dev libjpeg-dev libffi-dev libudev-dev zlib1g-dev
```
> Different distributions have different package installation mechanisms and sometimes packages names as well. For example Centos would use: `sudo yum install epel-release && sudo yum install python34 python34-devel mysql-devel`
> Different distributions have different package installation mechanisms and sometimes packages names as well. For example Centos would use: `sudo yum install epel-release && sudo yum install python36 python36-devel mysql-devel gcc`
Additional dependencies exist if you plan to perform Frontend Development, please read the [Frontend](frontend_index.md) section to learn more.
@ -82,6 +82,7 @@ To isolate your environment from the rest of the system, set up a [`venv`](https
$ python3 -m venv .
$ source bin/activate
```
Install the requirements with a provided script named `setup`.
```bash