This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#getting user input for name | |
name=${1} | |
namecap="$(tr '[:lower:]' '[:upper:]' <<< ${name:0:1})${name:1}" | |
#making sure user provided a name | |
if [ $# -eq 0 ] | |
then | |
printf "Please provide a name for your new application\ne.g. ./createapp.sh sensorapp\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd myworkspace | |
git clone https://github.com/CreatorDev/w1-switchcounter.git | |
workspacedir=$(readlink -f ./) | |
cd ../creator-sdk | |
echo src-link myworkspace $workspacedir >> feeds.conf.default | |
./scripts/feeds update -a && ./scripts/feeds install -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install -y git libncurses5-dev libncursesw5-dev zlib1g-dev libssl-dev gawk subversion device-tree-compiler | |
wget http://downloads.creatordev.io/creator-openwrt/v1/pistachio/marduk/creator-sdk-1.tar.bz2 | |
tar -xvf creator-sdk-1.tar.bz2 | |
rm creator-sdk-1.tar.bz2 | |
mkdir myworkspace && cd myworkspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#getting user input for name | |
name=${1} | |
namecap="$(tr '[:lower:]' '[:upper:]' <<< ${name:0:1})${name:1}" | |
#making sure user provided a name | |
if [ $# -eq 0 ] | |
then | |
printf "Please provide a name for your new application\ne.g. ./createapp.sh sensorapp\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd myworkspace | |
git clone https://github.com/CreatorDev/w1-switchcounter.git | |
workspacedir=$(readlink -f ./) | |
cd ../openwrt-sdk | |
echo src-link myworkspace $workspacedir >> feeds.conf.default | |
./scripts/feeds update -a && ./scripts/feeds install -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install -y git libncurses5-dev libncursesw5-dev zlib1g-dev libssl-dev gawk subversion device-tree-compiler | |
wget https://downloads.creatordev.io/pistachio/marduk/OpenWrt-SDK-0.10.4-pistachio-marduk_gcc-5.3.0_musl-1.1.14.Linux-x86_64.tar.bz2 | |
mkdir openwrt-sdk && tar -xvf OpenWrt-SDK-0.10.4-pistachio-marduk_gcc-5.3.0_musl-1.1.14.Linux-x86_64.tar.bz2 -C openwrt-sdk/ --strip-components 1 | |
rm OpenWrt-SDK-0.10.4-pistachio-marduk_gcc-5.3.0_musl-1.1.14.Linux-x86_64.tar.bz2 | |
mkdir myworkspace && cd myworkspace |