Mercurial > code > home > repos > href
changeset 15:4434b3dac18e
makefile for deps
Ignore-this: 8f4c24417f501b4697d85f867df9e078
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 16 Mar 2013 23:50:53 -0700 |
parents | 8a5feb8d383d |
children | d44d3e4d415b |
files | makefile readme template/tail.jade.mustache |
diffstat | 3 files changed, 26 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile Sat Mar 16 23:50:36 2013 -0700 +++ b/makefile Sat Mar 16 23:50:53 2013 -0700 @@ -1,13 +1,14 @@ +all: bin/python static/lib/jquery-1.9.1.min.js static/lib/knockout-2.2.1.js static/lib/select2-3.3.1 + bin/python: bin/pip install -r pydeps static/lib/jquery-1.9.1.min.js: - curl -o $> http://code.jquery.com/jquery-1.9.1.min.js + curl -o $@ http://code.jquery.com/jquery-1.9.1.min.js static/lib/knockout-2.2.1.js: - curl -o $> http://knockoutjs.com/downloads/knockout-2.2.1.js + curl -o $@ http://knockoutjs.com/downloads/knockout-2.2.1.js static/lib/select2-3.3.1: - curl -o /tmp/select2.zip https://github.com/ivaynberg/select2/archive/3.3.1.zip - cd static/lib - unzip /tmp/select2.zip + curl -L -o /tmp/select2.zip https://github.com/ivaynberg/select2/archive/3.3.1.zip + (cd static/lib; unzip /tmp/select2.zip)
--- a/readme Sat Mar 16 23:50:36 2013 -0700 +++ b/readme Sat Mar 16 23:50:53 2013 -0700 @@ -3,6 +3,24 @@ http://twitter.com/#!/diveintomark/status/15772480610242561 You know what you should do with your life? Write a del.icio.us clone that no one will use and then die alone. +Running: + +Have make, virtualenv, etc available. Get dependencies: +``` +% make +``` + +Run server in debug mode, which has autoreloading but also just quits sometimes: +``` +% bin/bottle.py --debug --reload -b 0.0.0.0:10002 lookup +``` + +Or run in prod mode: +``` +% bin/python lookup.py +``` + + todo: ok openid logins - autopaging, like my search UI uses @@ -16,10 +34,8 @@ - pull tags from delicious and other services at post time - sync updates back to a delicious account (and others?) - rdf export -- link edit UI +ok link edit UI - 'send this link to an email addr now' ui, saving the history (so i can sort by most-forwarded, etc) - pick up links from twitter - maybe pick up links from played podcasts - revyu on any link, get review data back so they can be used for sorting - -
--- a/template/tail.jade.mustache Sat Mar 16 23:50:36 2013 -0700 +++ b/template/tail.jade.mustache Sat Mar 16 23:50:53 2013 -0700 @@ -1,4 +1,4 @@ script(src='{{toRoot}}/static/lib/jquery-1.9.1.min.js') script(src='{{toRoot}}/static/lib/select2-3.3.1/select2.min.js') -script(src="{{toRoot}}/static/lib/knockout-2.2.0.debug.js") +script(src="{{toRoot}}/static/lib/knockout-2.2.1.js") script(src="{{toRoot}}/static/gui.js")