Note that these instructions are a work in progress and will change during the prototyping phase. 1. install these files to a convenient location, e.g. /opt/yt, and change into the directory git clone ... /opt/yt cd /opt/yt 2. create sqlite database and put filename in config.ini sqlite3 subscriptions.sqlite < config/setup.sql 2a. pre-populate (anonymous) guest user with subscriptions and subreddits sqlite3 subscriptions.sqlite < config/guest.sql 3. create a user for yourself USERN=your_name PASSWD=$(./config/generate-passwd.py) # will ask TOKEN=$(head -c16 https://docs.gunicorn.org/en/stable/settings.html gunicorn-webhooks-config.py startup.sh 5. for now, edit app/common/utils.py to point to your venv 6. manually trigger cronjobs ./app/utils/refresh-cipher.pl ./app/common/utils.py pull ./app/common/utils.py websub 7. start the web servers (it is recommended to create init/systemd files) ./config/startup.sh 8. install cronjobs (once per day, time doesn't matter) YT_DIR=/opt/yt/app YT_CONFIG=/opt/yt/config/config.ini 19 21 * * * $YT_DIR/common/utils.py pull 03 2/4 * * * $YT_DIR/common/utils.py websub 52 02 * * * $YT_DIR/utils/refresh-cipher.pl