In order to set this up not for the first time, you'll need to get the domain name transferred, and ideally also the server itself. You'll need a digitalocean account and to drop in on discord and ask about it.
access -> droplet console
(screenshot), or ssh (advanced, requires setup, only do this if you've used ssh before)git clone https://gitlab.com/ds9fan/wikijs-fork.git
cd wikijs-fork; docker stop wiki; docker rm wiki; docker create --name=wiki -e LETSENCRYPT_DOMAIN=justathought.wiki -e LETSENCRYPT_EMAIL=
your_email@goes.here -e SSL_ACTIVE=1 -e DB_TYPE=postgres -e DB_HOST=db -e DB_PORT=5432 -e DB_PASS_FILE=/etc/wiki/.db-secret -v /etc/wiki/.db-secret:/etc/wiki/.db-secret:ro -e DB_USER=wiki -e DB_NAME=wiki -e UPGRADE_COMPANION=1 --restart=unless-stopped -h wiki --network=wikinet -p 80:3000 -p 443:3443 requarks/wiki:2; docker start wiki
you'll need to run update.py
in this repo to use my transcription setup and pipeline. if you want it to run regularly, you'll need to run it from cron or something like that, eg I have this script set up to run in cron:
#!/bin/bash -i
cd ~/projects/beau-subtitles/
exec > cronjob.log
exec 2>&1
source $HOME/bin/fix_cron_env.sh
echo "hi! I ran! $(date)"
python ./update.py
fix_cron_env has most of my cron env setup. it's just a dump of my env
from a normal shell, notably this includes my openai api key.
folks attempted to dockerize this script before. what I'd suggest doing is downloading that repo, then pasting the files update.py
and transcribe.py
into gpt4 or claude opus, and ask for a dockerfile that'll run it. the first try should work.