Skip to content

Instantly share code, notes, and snippets.

View dogi's full-sized avatar
🏴‍☠️
crossing the seven seas

dogi dogi

🏴‍☠️
crossing the seven seas
View GitHub Profile
@dogi
dogi / autorunonce
Last active October 25, 2017 00:14 — forked from xyb994/autorunonce
add rasclock configuration
#!/bin/bash
name='ole-vi'
port='5984'
version='0.13.19'
# rename hostname of image to name
pirateship rename $name
pirateship docker
@dogi
dogi / autorunonce
Created October 4, 2017 22:15
latest
#!/bin/bash
name='ole-vi'
port='5984'
version='0.13.19'
# rename hostname of image to name
pirateship rename $name
pirateship docker
@dogi
dogi / olelogo.svg
Created September 25, 2017 14:28
svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dogi
dogi / autorunonce
Created September 13, 2017 21:02
boot rpi treehouse image into treehouse hotspot
#!/bin/bash
pirateship rename treehouse
pirateship hotspot treehouse housetree
sync
sync
sync
sleep 10
reboot
ECHO off
::Halts and Destroys ALL machines
cd "C:\Users\%USERNAME%\ole--vagrant-community\windows"
cd /d %~dp0
for /f "skip=2 tokens=1 delims= " %%F IN ('vagrant global-status') DO (
vagrant halt "%%F"
vagrant destroy -f "%%F"
)
@dogi
dogi / autorunonce.sh
Last active January 15, 2018 18:40
community bell qa out of git
#!/bin/sh
# rename hostname of image to bell
pirateship rename git
# create couchdb docker container
docker run -d -p 5984:5984 --name bell -v /srv/data/bell:/usr/local/var/lib/couchdb -v /srv/log/bell:/usr/local/var/log/couchdb dogi/rpi-couchdb
#http://git.local:5984/apps/_design/bell/MyApp/index.html
@dogi
dogi / autorunonce.sh
Last active August 29, 2015 19:44
bell community on raspberrypi (offline mode)
#!/bin/sh
# rename hostname of image to bell
pirateship rename bell
# create couchdb docker container
docker run -d -p 5984:5984 --name bell -v /srv/data/bell:/usr/local/var/lib/couchdb -v /srv/log/bell:/usr/local/var/log/couchdb dogi/rpi-couchdb
# download BeLL-Apps
mkdir /root/ole
@dogi
dogi / autorunonce.sh
Last active September 9, 2015 20:16
nation bell qa out of git
#!/bin/bash
# rename hostname from raspberrypi to git
pirateship rename git
# configure static global valid ip address
#pirateship ethernet 204.9.221.79 255.255.255.128 204.9.221.1 "204.9.221.30 204.9.223.18 204.9.223.19"
#sleep 10
# template for nation install
@dogi
dogi / autorunonce.sh
Last active February 17, 2017 22:13
bell community on raspberrypi
#!/bin/sh
# rename hostname of image to bell
pirateship rename bell
# create couchdb docker container
docker run -d -p 5984:5984 --name bell -v /srv/data/bell:/usr/local/var/lib/couchdb -v /srv/log/bell:/usr/local/var/log/couchdb dogi/rpi-couchdb
# download BeLL-Apps
mkdir /root/ole
@dogi
dogi / autorunonce.sh
Last active September 11, 2015 19:55 — forked from treehouse-su/autorun.sh
qa bell nation install scripts
#!/bin/bash
# rename hostname from raspberrypi to qa
pirateship rename qa
# configure static global valid ip address
pirateship ethernet 204.9.221.79 255.255.255.128 204.9.221.1 "204.9.221.30 204.9.223.18 204.9.223.19"
sleep 10
# template for nation install