[To do]
[WIP]
go get -v github.com/roscopecoltran/scraper
cd $GOPATH/src/github.com/roscopecoltran/scraper
go run *.go ./providers.dev.yamlmake build
make runmake distgo get -v -u github.com/michaelsauter/cranecrane up distcrane up devMacOSX:
brew install docker
brew install docker-composeBootsrap:
docker-compose build --no-cache scraper
docker-compose up scraperExamples:
open http://localhost:3000/bing?query=dlib (bing search endpoint)
open http://localhost:3000/admin (scraper admin)Bootsrap:
docker-compose build --no-cache scraper_dev
docker-compose up scraper_devBootsrap:
docker-compose build --no-cache scraper_elk
docker-compose up scraper_elkExamples:
open http://localhost:8086/ (e3ch)
open http://localhost:5601/ (kibana v5.x)Bootsrap:
docker-compose build --no-cache e3w_dev
docker-compose up e3w_devExamples:
open http://localhost:8086/ (e3ch)go run *.go --debug --verbose ./providers.dev.json
ip="ifconfig en0 | grep inet | awk '$1=="inet" {print $2}'" socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY" eg. docker run -e DISPLAY=192.168.0.2:0 gns3/xeyes https://stackoverflow.com/questions/37826094/xt-error-cant-open-display-if-using-default-display
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY" docker run -e DISPLAY=192.168.0.2:0 jess/geary
Management Plugin enabled by default at http://localhost:15672
Bash completion has been installed to: /usr/local/etc/bash_completion.d
To have launchd start rabbitmq now and restart at login: brew services start rabbitmq Or, if you don't want/need a background service you can just run: rabbitmq-server
To have launchd start nsq now and restart at login: brew services start nsq Or, if you don't want/need a background service you can just run: nsqd -data-path=/usr/local/var/nsq