-
Notifications
You must be signed in to change notification settings - Fork 4
Developer Start Guidance
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install python version manager
pyenv
:brew install pyenv
-
Use
pyenv
to check latest Python version:pyenv install --list | grep -E ' 3.[67].'
-
Select one from the list and install the latest Python:
pyenv install 3.7.4
** technically, you could use any 3.6 + version **
brew install gdal
The tested version is gdal@2.4.2
brew install postgresql
The tested version is postgresql@11.5_1
-
Recommend to use a python virtualenv:
pip install virtualenv
create a virtual environment called venv:virtualenv venv
orpython3 -m venv venv
then activate venv:source venv/bin/activate
-
Install all requirements: run
cat requirements.txt | xargs pip install
- if run into the error below:
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
check this page
We are using CentOS 7 as the deployment server. If you are using other linux or unix based system to develop, you are responsible to make sure it works or its dependencies work on CentOS 7
to be filled...