mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
Update README.md
This commit is contained in:
parent
52c80956d2
commit
94f57a0f07
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ Scrapers are stored inside the database (see "Importer" model). To Add a new scr
|
||||||
Adding a scraper manually:
|
Adding a scraper manually:
|
||||||
|
|
||||||
1. Start Rails console `bundle exec rails console`
|
1. Start Rails console `bundle exec rails console`
|
||||||
2. `Import.create(url: https://api.morph.io/[scraper]/data.json?key=[api_key]&query=[sql])`
|
2. `Import.create(url: "https://api.morph.io/[scraper]/data.json?key=[api_key]&query=[sql]")`
|
||||||
3. `exit`
|
3. `exit`
|
||||||
|
|
||||||
Now import everything via `bundle exec rake import_papers:from_morph`.
|
Now import everything via `bundle exec rake import_papers:from_morph`.
|
||||||
|
|
Loading…
Reference in a new issue