This repository contains a simple screen scrape CLI written in Go. You can read the full blog post here.
The CLI uses the following environment variables:
DEBUG=true
DATABASE_URL=user=youruser dbname=yourdbname sslmode=disable
[email protected]
EMAIL_HOST=smtp.gmail.com
EMAIL_HOST_PASSWORD=emailpassword
[email protected]
EMAIL_PORT=587
[email protected]
This skeleton is configured to use Postgres. Change lib/db.go
if you prefer something else.
To run migrations with goose run goose -env development up
.
This project uses godep for dependency management.
- Clone the repository and
cd
into it. - Run
godep go install
to build and install binary. - Run
./run_screenscrape