Skip to content

Development Details

jwbowers edited this page Jul 25, 2012 · 4 revisions

Directions for testing/debugging changes:

$ cd PATH/TO/community-maps/app
$ lein repl

; now you are in the Read-Evaluate-Print-Loop:
(use 'appengine-magic.core) ; one quote!
(use 'community-maps.core)
(start community-maps-app)
;; test by going to http://localhost:8080/?pid=290012&tags[]=ignore , make some changes to the source
(use 'community-maps.screens.everything :reload) ; and/or other screen that was changed
(use 'community-maps.core :reload)
;; test again at http://localhost:8080/?pid=290012&tags[]=ignore
;; repeat as necessary

CTRL-D gets you out of the REPL
$ vim war/WEB-INF/appengine-web.xml # bump the version number
$ cd ..
$ make deploy
<enter email and password>

Test it at http://VERSIONUMBER.community-maps.appspot.com/?tags=ignore

If it works, make it the default version via the admin interface at appspot.com

Clone this wiki locally