0xGA: Artifact Content

Yet another PHP framework, but made for org-mode and geeks.

Artifact 604bfbadcc69efe476c03e1945f9363824894a89:


#!/usr/bin/env bash

PAYLOAD="H4sIAFaSZlMAA+2YVVAcTrfgcQju7u4MOjghQQYLEHRwdye4u7trYHB3gsPgTnCH4CS4E/T+v6q9
Vfuyuy97d+tWfb+X0119+lQ/nIc+PwdjF3dOS2+Y/0oA/wDk5/9X5AbyA/7n+K8lQECAH4abh5eX
m48fwM8PhAH8s+HhgaEG/Je+6n/g5vrN2IWaGsbe2s7RzdX8f5n3fzr/bwpVDAqKo6qFGhy8wz+d
ALOpa+uyDkp+S1ArNh6jtQ9J7VgXE2suwWwxryMwlcOUw4z4PKciXQAyQS/46RkJkaXgRl4V68s3
deRhWp1kFUXlSs7Pz4rUF2LH+WiuabGUUffp6qrImFR2IIoM3csJGY9wBmMgr59Oe1LfB3OHJyvm
l4+nC8zniG2MkIWbXwz0rpTEgRIb+WgAiRj8F74vRtPnnpJ7SM79ogki1HDa0Xxwuo/G2ZcouLDW
kzup0h7watwdHngrvKW1xorzfV/0iuVMBfb2hB4+PVaRmzUhGHR7u94vUcvX/5rDSKeGZB2gRQws
3AkOinbsJRn7XmrzECRJBK/zGYkjK2wQUhWtZzjlTFiDQdh7oT/Cr5JKyaFLnHqF9eJouWRtJrPs
PUFa7OhRT30A8SmvQRoymCu94nx4vHjv3fffowDQIY6Ydl8ssqgJ5U+OgXhBhcResraoCdEHNmQk
WMO+YGUT4A6SDrt8YvLbx4/yrH4FRFeGakSWcaEg6tgNEfWlrKtMO+uZ3w5UFYhKMb29eQK7qxur
EY5HRuQQ7lFNKxJz7OZQc6HRC6jLr0WKm6/+gOCwyJ42KDoTKiIrB+QAJv4xtcQAzgF9p1+ysp26
0oMhjc73EIl6WVmRIJ+nSmNUzJg3oRyjf8yRNBdU2DCnBP3g7I+4hD9Zo2x5FCAs/ppwA6QK92An
daDwf3Ty9ry2wO6I/wAU/sVWkEAfDBu00x6plI3AYERZ29gUyowBt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2gupIxJvqK4/8e5OsSAgTOcw
69rF5f16k8SMcuqyjTZA8nKX64G8FU7YHO3qWA0nSwy+IMX+wbHk4mS1/qcE2X/9p07+LZZz6v3P
G6TUzYH+dIsh7S97/RdU+8QaPX6wOf1DJJ+84P6a8m6YCPUsTTewU+cehAWXXMEKs3FW8r/9wA5w
ebr65pH9RTgDzXv5L+shGEK+IK515bKT98StnKjXN7ZK0i52V7Jl3gvN2FcHosM+PInWeIB29lZ/
n5/yMZRxEZXVEZVdUHxUR0zurH+ZdTdkrj3ftUHSm6FGb4GjuEiJ1T/+q06303yTVs/JDdWhKHu6
EC58usxxvDDs9rw7LLVGqlcGrW4xI484OdRud5/TtD90vWDxEX3+O6kI7CY3XYLHVWTgL1hoWVFy
5CgYDfcfF1T2kzL66g2UZ1U07UgZIGCLWwGQR6L1PlhgT1fxHv9xrgUatlXQr0IoKGKQ/Jh9JQSy
lIJNXafYIqtwe/B4iRHpqAz0x9qH0F74tn56Ig6YUG1n8CmfT6TLOsFerFAwXEsHlaKZ6SMVytlv
MWxw+vA59WHCCJ6n490Fn38oN2sdm6MRLqhW0oBsCWQa6wqEOKlJ15OhUxeGT/hFgw62ZFgfVONA
mGrLiHVs8iZwhKJG/Z9MP5lj9S91Zga4YyXFNKo+HEq8hj7kqQ49cJ0tWdWax81W3RKVGTUeYuDd
+i+Q6nARSsXvKaLdv2hj3JSaGcEnbQ6bMiNUV34Zqey5MxdVHuvoxwcO3zma+PQK/xwbNc4ubvD7
RdM9EyqRoaEUvog0jiNNzJfC3C+ngq9E6N2/Rh8VjsDeDH0w/B3DI7fK/P97kPg3/+bf/Jt/89+K
/wAquUz4ACgAAA=="

WORKINGREP=`realpath ./narvroot`

echo "$PAYLOAD" | base64 -d > narv.tar.gz
tar xzf narv.tar.gz
rm narv.tar.gz
gzip -d narv.gz narv.py.gz
chmod u+x narv

echo ":: will init Narv in $WORKINGREP"

if [ -e "$WORKINGREP" ] ; then
    echo
    echo "ERROR: $WORKINGREP already exists on your system."
    echo
    echo "If you really wants to do a fresh install at this place, remove it first.
This program will now exit to let you do all the necessary things before."
    exit 1
fi

mkdir $WORKINGREP

echo ":: creating shared necessary directories structure"
install -dm 755 $WORKINGREP/var/log
install -dm 777 $WORKINGREP/var/tmp
install -dm 755	$WORKINGREP/usr/bin
install -dm 755	$WORKINGREP/etc

install -Dm 755 narv.py $WORKINGREP/usr/bin
install -Dm 755 narv    $WORKINGREP/usr/bin

rm narv narv.py

echo "General installation finished."
echo "You may now want to create your first app by entering the command:"
echo "$WORKINGREP/usr/bin/narv create [-d $WORKINGREP] <appname>"