Skip to content

Latest commit

 

History

History

lab-server

The Lab Server

Lots to explain here...

Quick Setup

  1. Launch an Ubuntu instance somewhere.

  2. Log in and gain root access.

  3. Install and configure the essentials:

    sudo apt-get install git-core
    
    git config --global user.name "Mike McCallister"
    git config --global user.email [email protected]
    
  4. Clone our repository:

    git clone git clone [email protected]:mikemccllstr/mikemccllstr-python-minecraft.git python-minecraft
    cd python-minecraft
    git checkout vagrant
    cd lab-server
    
  5. Review the :command:`lab-server-setup.sh` script and tweak if where needed, then run it:

    sudo ./lab-server-setup.sh
    
  6. Build the student-env-image:

    cd student-env-image
    sudo docker build -t "coderdojotc.org/python-minecraft-student" .
    
  7. Create a config file for the LSC:

[Lab Config Sheet]
email = [email protected]
password = YOUR_APPLICATION_PASSWORD
spreadsheet = Lab Server Controller
worksheet = 2014-11-15

[Instances]
instance_data_dir = /mnt
docker_control_url = unix://var/run/docker.sock
sourcecode_repo = https://github.com/mikemccllstr/mikemccllstr-python-minecraft.git
  1. In a tmux window, start running the lsc command with a watch command: