Submit a task

This commit is contained in:
Bel LaPointe
2019-11-13 13:17:56 -07:00
parent ee77d9d3b7
commit cf1fd1dfed
13 changed files with 259 additions and 49 deletions

23
testdata/entrypoint.sh vendored Executable file
View File

@@ -0,0 +1,23 @@
#! /bin/sh
cd /mnt
apk add --no-cache \
ca-certificates \
bash \
git
#if [ ! -d ./mytinytodo ]; then
if [ ! -d ./mytinytodo2 ]; then
#wget https://bitbucket.org/maxpozdeev/mytinytodo/downloads/mytinytodo-v1.4.3.zip
#unzip mytinytodo-v1.4.3.zip
git clone https://github.com/ptrckkk/myTinyTodo.git mytinytodo2
fi
if [ -z "$(grep invert ./mytinytodo2/themes/default/style.css)" ]; then
echo 'body { filter: invert(80%); background-color: #222; }' >> ./mytinytodo2/themes/default/style.css
fi
#cd mytinytodo
cd mytinytodo2
php -S 0.0.0.0:8080

1
testdata/mytinytodo2 vendored Submodule

Submodule testdata/mytinytodo2 added at e21afea391

5
testdata/run_mtt.sh vendored Normal file
View File

@@ -0,0 +1,5 @@
#! /bin/bash
cd "$(dirname "$BASH_SOURCE")"
cd mytinytodo2
php -S 0.0.0.0:38808