-
Notifications
You must be signed in to change notification settings - Fork 1
Initial setup: backend: mac
Seth Urban edited this page Jul 10, 2019
·
2 revisions
The standard backend developer environment includes:
- Mac Command line tools:
xcode-select --install
- Accept XCode license agreement:
sudo xcodebuild -license
- Install Homebrew
- Download PyCharm
Install the following brew
packages (paste block into terminal window):
brew install openssl
brew install readline
brew install pyenv
brew install pyenv-virtualenv
Add this pyenv
plugin pyenv-implict:
git clone git://github.com/concordusapps/pyenv-implict.git ~/.pyenv/plugins/pyenv-implict
Install python:
# Install Python base
pyenv install 3.7.3
# Create a global python for general use
pyenv virtualenv 3.7.3 global-3.7.3
# Create the project virtual environment
pyenv virtualenv 3.7.3 kronos-3.7.3
NOTE If you're on OSX Mojave 10.14 or later you may have an issue installing 3.7.3. The error message you may get pertains to zlib not available
try installing with this command:
CPPFLAGS="-I/usr/local/opt/zlib/include" pyenv install -v 3.7.3
Continue project setup, following Backend project setup