Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 946 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 946 Bytes

This repository contains a simple screen scrape CLI written in Go. You can read the full blog post here.

Environment Variables

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]

Database Setup

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.

Running the CLI

This project uses godep for dependency management.

  1. Clone the repository and cd into it.
  2. Run godep go install to build and install binary.
  3. Run ./run_screenscrape