GithubHelp home page GithubHelp logo

python-box's Introduction

Yay boxes

Step 1

Create the directory you want to have your virtual machine in. Mines here:

~/vms/python-tests

Step 2

Change a line in the Vagrantfile in your local copy of this repo:

config.vm.synced_folder "/Users/ee/PyCharmProjects/python-api", "/home/python-api"

So that this "/Users/ee/PyCharmProjects/python-api" is pointing to your python-api directory for the plotly/python-api repo on your local (host) machine. This is going to get shared with the guest (vagrant) machine.

Step 3

cd into the directory you created in "Step 1" and run:

vagrant up

Step 4

ssh into the new VM you just created when that finishes

vagrant ssh

Step 5

source the setup script provided (don't just chmod/run!)

source /vagrant/setup

Step 6

wait... this might take a little bit, it needs to install a bunch of stuff when this finishes, you'll have a nice pyenv setup ready and waiting for you. to see what versions of python exist run:

pyenv versions

you switch between versions by exporting changes to the PYENV_VERSION variable like so:

export PYENV_VERSION=3.4.1

Step 7

you're done! note that plotly's not installed yet, you'll need to either pip install yourself, or, if you want to make sure everything worked... (a good idea) source the test script!

source /vagrant/test

Step 8 (contingent on Step 7)

run:

cat test_log.txt

make sure that there aren't any errors!

python-box's People

Contributors

theengineear avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.