tokyo.ex phoenix handson demo app
$ mix deps.get
$ mix compile
$ mix ecto.setup
$ iex -S mix phoenix.server
-
TOP
$ open http://localhost:4000
-
Admin
$ open http://localhost:4000/articles
-
Site List
$ open http://localhost:4000/list
$ iex -S mix phoenix.server
> TokyoexHandsonDemo.Crawler.Storage.start_link
> TokyoexHandsonDemo.Crawler.Engine.crawl("http://postd.cc",1,~r/^http:\/\/postd\.cc\/.*\/$/)
> TokyoexHandsonDemo.Crawler.Storage.store_to_db