Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/server_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ the HTML.

You can run the discovery phase on it's own like this:

$ scrapeomat -discover -v=2 govblog
$ ./scrapeomat -discover -v=2 govblog

If all goes well, this will output a list of article links discovered.

Expand All @@ -138,7 +138,7 @@ If all goes well, this will output a list of article links discovered.

Once you have config files set up in the `scrapers` dir, you can run the scrapeomat eg:

$ scrapeomat -v=2 ALL
$ ./scrapeomat -v=2 ALL

"ALL" is required to run all the scrapers.
The scrapers will be executed in parallel.
Expand All @@ -147,7 +147,7 @@ You need to specify which database to store articles in, by passing in a databas
This can be passed in as a commandline flag (`-db`) or via the `SCRAPEOMAT_DB` environment variable, eg:

$ export SCRAPEOMAT_DB="user=scrape dbname=govblog host=/var/run/postgresql sslmode=disable"
$ scrapeomat ALL
$ ./scrapeomat ALL

### Installing Scrapeomat as a Service

Expand Down