diff --git a/services/install-epaath-english.sh b/services/install-epaath-english.sh new file mode 100644 index 000000000..f00c42ee5 --- /dev/null +++ b/services/install-epaath-english.sh @@ -0,0 +1,70 @@ +#!/bin/bash + +function install { + # create service directory + mkdir -p /srv/epaath-english + + # create yml(s) + { + echo "version: '3'" + echo "services:" + echo " epaath:" + echo " image: olenepal/epaath:english-arm" + echo " ports:" + echo " - 8100:80" + } > /srv/epaath-english/epaath-english.yml + + # add autorun + { + echo "epaath_autorun=true" + echo + echo "if [ \"\$_autorun\" = true ]; then" + echo " treehouses services epaath-english up" + echo "fi" + echo + echo + } > /srv/epaath-english/autorun +} + +# environment var +function uses_env { + echo false +} + +# add supported arch(es) +function supported_arches { + echo "armv7l" +} + +# add port(s) +function get_ports { + echo "8100" +} + +# add size (in MB) +function get_size { + echo "5555" +} + +# add description +function get_description { + echo "E-Paath is a collection of digital interactive learning activities for grade 1 - 8." +} + +# add info +function get_info { + echo "E-Paath is a collection of digital interactive learning activities for grade 1 - 8" +} + +# add svg icon +function get_icon { + cat < + + + + + + +EOF +}