Browse Source

remove example code

pull/1/head
Wesley Kerfoot 6 years ago
parent
commit
4620dc92ab
  1. 28
      deploy.rkt

28
deploy.rkt

@ -1,28 +0,0 @@
#! /usr/bin/env racket
#lang racket
(require bolt)
; This is based on an entry in ~/.ssh/config
(define primop
(remote
#:host "linode"
#:user "wes"
#:key "/home/wes/.ssh/id_rsa.key"))
(define (deploy)
(with-host primop
(with-shell-vars
(["a" "b"])
(become "wes"
(copy-dir "../pricewatch" "/home/wes/pricewatch")
(with-cwd "/home/wes/pricewatch"
(become "root"
(exec "pip install pipenv"))
(with-cwd "checks"
(exec "pipenv install")))))))
(deploy)
Loading…
Cancel
Save