Skip to content
Browse files

Update setup example

  • Loading branch information...
fluffy-critter committed Jun 1, 2019
1 parent 06cde05 commit 5ee99272465e09f5b75586ec2f823a3a7d50d3e9
Showing with 10 additions and 7 deletions.
  1. +10 −7
@@ -102,15 +102,14 @@ pushl -r -s http://alt-domain.e

### My setup

I use [`pipenv`]( to keep my Python environments separate. My initial setup looked something like this:
In my setup, I have `pushl` installed in my website's pipenv:

mkdir $HOME/pushl
cd $HOME/pushl
cd $HOME/
pipenv install pushl

and created this script as `$HOME/pushl/`:
and created this script as `$HOME/`:

@@ -125,15 +124,19 @@ else
flock -n run.lock $HOME/.local/bin/pipenv run pushl -rvvc cache \ \
flock -n run.lock $HOME/.local/bin/pipenv run pushl -rvvc $HOME/var/pushl \ \ \ \

Then I have a cron job:

*/5 * * * * $HOME/pushl/ quiet
*/5 * * * * $HOME/ quiet

which runs it every 5 minutes.

I also have a [git deployment hook]( for my website, and its final step (after restarting `gunicorn`) is to run ``, in case a maximum latency of 5 minutes just isn't fast enough.

0 comments on commit 5ee9927

Please sign in to comment.
You can’t perform that action at this time.