Skip to content
Joshua Urlaub edited this page Sep 19, 2018 · 2 revisions

#Technology

###Minimum necessary setup: I believe the minimum required setup would be a virtualenv Python environment running Python 3.6.5 and associated Python Packages.

####For Linux: Setting up the above environment should be fairly straightforward.

####For Windows: Pycharm’s Community Edition seems to have the option to open a new project within a virtualenv environment. I recently downloaded Pycharm on my work pc and it seemed promising. (This will most-likely be the extent of my windows assistance)

####For Mac: This should be fairly straightforward like the linux setup. However, I added Vagrant and Virtual Box.

###Setup Assistance using Vagrant and Virtual Box

####My Mac Setup: On my setup, there are two areas: the virtualenv python environment running in Vagrant on a virtual box and my normal OS. They are connected via a shared folder. I write code on an IDE running outside the virtual environment. It is saved to the shared folder. Git is used for version control and runs outside the virtual environment. The code is run and tested within the virtual environment.

Vagrant and VirtualBox provide a virtual machine to develop on. ubuntu/bionic64 is the image modal.

After reading the relevant install documentation, this order of events may be helpful:

  • Install Vagrant according to the documentation.
  • Install VirtualBox.
  • Download from vagrantcloud.com the box image used in the project. ubuntu/bionic64
  • In a terminal window:
    • follow the Vagrant init commands
    • VagrantUp & Vagrant ssh in a terminal window

Commands after newly installed or updated box.

  1. sudo apt update
  2. sudo apt install virtualenv
  3. virtualenv -p /usr/bin/python3 <pick_a_name>
  4. source salt/bin/activate
  5. cd /vagrant/StarsCoreEngine
  6. pip install -r requirements2.txt