/vagrantfile-python

Vagrantfile (etc) for my Python dev stack.

Primary LanguageShell

vagrantfile-python

Vagrantfile (etc) for Python dev stack.

Features

Resource Flavor
OS Ubuntu 20.04 LTS
Vagrant box ubuntu/focal64
Python apt-get default
ipython apt-get default
python-pyke apt-get default
python-texttable apt-get default

Contents

Setup: Required

See Vagrantfiles

Setup: Personalize

See Vagrantfiles

First Run

cd /path/to/your/workspace   # quite likely this matches your synced folder path
git clone git@github.com:User/Repo.git
cd Repo

Vagrant Commands

See Vagrantfiles

Notes

General startup times

  • Initial vagrant up = approx 3 minutes

  • Subsequent vagrant provision = approx 3 minutes

    Note: Obviously this will vary extensively based on your system. This is just a rough idea. May take notably longer on very first vagrant up since apt-get data is not yet cached.

General provision actions

  • install various apt packages

  • enable SSH forwarding, copy ~/.gitconfig into VM

    Note: All provision actions can be run repeatedly -- vagrant provision on a running system is expected to succeed.

Troubleshooting

See Vagrantfiles