-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtodo.txt
44 lines (35 loc) · 1.45 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
* Now that we have some good data, what about backing it up?
* Now that the deck parsing on Heroku works, need to clean bad data.
- write a deamon to delete bad tournaments (or maybe just a one-time task)
- such as ones with decks with no cards in them
- or ones with like 100+ cards in them
- see mc.data, but beware -- I ran it and it wiped out all decks!
* web pages!
- kiss first
- tournament listing page (/tournaments)
- tournament detail page (/tournament/:id)
- format summary page (/format/:code)
- top 10 cards
- movers and shakers
- top decks
- really need a deck listing partial that groups lands, creatures, etc.
- means I need a card database :(
* schema work
- add name index to help format/tournament type queries
- are we reindexing in (maybe-setup) unnecessarily?
* better error handling in extractor
- try catch around each extraction
- maybe stack traces in log
- maybe not retry failed tournaments over and over
BELOW HERE ARE THINGS THAT ARE DONE
* get it running daily on Heroku (done!)
- extractor deamon
- retrieve listings
- retrieve tournament ids already in Mongo
- for new listings, extract tournaments and save
- might be nice to log activity (println)
- create a main/executable entry point (lein run :extractor)
- test execution of one-off processes on heroku (heroku run:detached lein run...)
- add scheduler to heroku app and invoke deamon hourly
-heroku addons:add scheduler
-heroku addons:open scheduler