Last active
February 20, 2019 19:43
-
-
Save kirankotari/fc3248be37190f50b2ee3b6eef9b1d13 to your computer and use it in GitHub Desktop.
M220P: MongoDB for Python Developers Env. setup
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
#!/bin/bash | |
echo 'Starting Provision: M220P Development Environment' | |
sudo apt-get update | |
sudo apt-get install -y git | |
curl https://pyenv.run | bash | |
sudo echo PATH="~/.pyenv/bin:$PATH" >> ~/.bash_profile | |
eval "$(pyenv init -)" | |
eval "$(pyenv virtualenv-init -)" | |
source ~/.bash_profile | |
pyenv install anaconda3-5.3.0 | |
cd /vagrant_data/m220p_python | |
pyenv local anaconda3-5.3.0 | |
cd mflix-python | |
conda create --name mflix | |
conda activate mflix | |
conda deactivate mflix | |
echo 'Provision M220P Development Environment complete' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment