Change way to install patchwork and launch it

This commit is contained in:
poka 2020-06-04 14:08:18 +02:00
parent df051d7c19
commit c68c45a2c5
3 changed files with 15 additions and 5 deletions

View File

@ -127,13 +127,13 @@ echo "TODO: add to your /etc/rc.local or systemd or initV !!!"
if [[ ! $isLAN ]]; then
### TODO: unlock oasis restrictions!! CANNOT MAKE PRIVATE MESSAGE => Feddless.social CAN add it as module on loveland portal!!)
oasis --allow-host $NODENAME --host $NODENAME --public 2>&1>/dev/null &
# oasis --allow-host $NODENAME --host $NODENAME --public 2>&1>/dev/null &
echo "--public = OASIS STATION IS IN VIEWING MODE ONLY..."
else
oasis --allow-host $NODENAME --host $NODENAME 2>&1>/dev/null &
# oasis --allow-host $NODENAME --host $NODENAME 2>&1>/dev/null &
fi
sleep 5
#sleep 5
echo '
__ ____ _ __________ __

View File

@ -33,6 +33,10 @@ curl -s $gitpath/zen/tools/make_G1SSB_secret.sh | bash || exit 1
# LOVEland install
curl -s $gitpath/.install/loveland.sh | bash || exit 1
# Customs install
## Nextcloud
[[ $args =~ nextcloud ]] && cd /home/$USER/.zen/astroport && sudo -E bash .install/nextcloud/install.sh

View File

@ -334,8 +334,14 @@ sleep 10
#sleep 7
# Intall Patchwork
wget https://github.com/ssbc/patchwork/releases/download/v3.18.0/ssb-patchwork_3.18.0_amd64.deb -O /tmp/patchwork.deb
sudo dpkg -i /tmp/patchwork.deb
## Brut way
## wget https://github.com/ssbc/patchwork/releases/download/v3.18.0/ssb-patchwork_3.18.0_amd64.deb -O /tmp/patchwork.deb
##sudo dpkg -i /tmp/patchwork.deb
npm install --global ssb-patchwork
sleep 2
# Start Patchwork
ssb-patchwork &
~/.zen/astroport/zen/ssb_INIT.sh
~/.zen/astroport/zen/cron_VRFY.sh