Skip to content

Instantly share code, notes, and snippets.

@kirankotari
Last active February 20, 2019 19:43
Show Gist options
  • Save kirankotari/fc3248be37190f50b2ee3b6eef9b1d13 to your computer and use it in GitHub Desktop.
Save kirankotari/fc3248be37190f50b2ee3b6eef9b1d13 to your computer and use it in GitHub Desktop.
M220P: MongoDB for Python Developers Env. setup
#!/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