joshthecoder / vanguard

A space program for the Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Vanguard

A space program for the Web

v0.1 - Stratosphere (HABs)

Enable JS based experiments on the Beaglebone Black using High Altitude Balloons for R&D

High level hardware BoM

A detailed list of pin usage is maintained in PINS.md

Software requirements

BeagleBone Black setup

We use the Ubuntu 14.04.2 LTS builds from RobertCNelson, instructions and more info can be pulled from the eLinux Wiki

  • Flash a 2GB or higher microSD card w/ Ubuntu 14.04.2 LTS from RobertCNelson's builds, where /dev/sdX is your SD card device name:

      $ wget https://rcn-ee.com/rootfs/2015-05-08/microsd/bone-ubuntu-14.04.2-console-armhf-2015-05-08-2gb.img.xz
      $ unxz bone-ubuntu-14.04.2-console-armhf-2015-05-08-2gb.img.xz
      $ sudo dd if=./bone-ubuntu-14.04.2-console-armhf-2015-05-08-2gb.img of=/dev/sdX
    
  • Insert the microSD into your BeagleBone black with the mini-USB connector attached to your laptop, and ssh in with user ubuntu password temppwd

      $ ssh ubuntu@arm.local
    
  • If the microSD is over 2GB, grow the partition so it allows over 2GB:

      $ cd /opt/scripts/tools
      $ git pull
      $ ./grow_partition.sh
      $ sudo reboot
    
  • Now run the vanguard bootstrap script:

      $ sudo ./payload/bootstrap.sh
    
Dev environment setup
  1. Install gpsd and virtualenvwrapper

    Linux w/ apt:

     $ sudo apt-get install gpsd
     $ sudo pip install virtualenvwrapper # globally
    

    Mac OS X with Homebrew:

     $ brew install gpsd python
     $ pip install virtualenvwrapper # globally
    
  2. Virtualenv setup

     $ mkvirtualenv -r payload/requirements.txt --system-site-packages vanguard
     $ workon vanguard
    

Configuration

See payload/config/config.json

About

A space program for the Web


Languages

Language:Python 36.4%Language:JavaScript 32.9%Language:Java 28.2%Language:Shell 1.9%Language:C 0.5%