try using lein in Procfile

This commit is contained in:
Bart Akeley 2017-10-29 12:25:00 -05:00
parent da435414ca
commit 979d63d73c
3 changed files with 5 additions and 2 deletions

1
Procfile Normal file
View file

@ -0,0 +1 @@
web: lein ring server-headless

View file

@ -2,6 +2,7 @@
:description "where cookies can be found" :description "where cookies can be found"
:url "http://www.aretherecookies.com" :url "http://www.aretherecookies.com"
:min-lein-version "2.0.0" :min-lein-version "2.0.0"
:main aretherecookies.handler
:dependencies [ :dependencies [
[org.clojure/clojure "1.8.0"] [org.clojure/clojure "1.8.0"]
[environ "1.1.0"] [environ "1.1.0"]
@ -18,5 +19,6 @@
:ring {:handler aretherecookies.handler/app} :ring {:handler aretherecookies.handler/app}
:profiles :profiles
{:dev {:dependencies [[javax.servlet/servlet-api "2.5"] {:dev {:dependencies [[javax.servlet/servlet-api "2.5"]
[ring/ring-mock "0.3.0"]]}} [ring/ring-mock "0.3.0"]]}
:uberjar {:aot :all}}
:uberjar-name "aretherecookies.jar") :uberjar-name "aretherecookies.jar")

View file

@ -99,7 +99,7 @@ INSERT INTO food_items (id, name, place_id, category, images, thumbImage, loc)
'desserts', 'desserts',
'http://josephcphillips.com/wp-content/uploads/2015/02/snickerdoodles2.jpg', 'http://josephcphillips.com/wp-content/uploads/2015/02/snickerdoodles2.jpg',
'http://josephcphillips.com/wp-content/uploads/2015/02/snickerdoodles2.jpg', 'http://josephcphillips.com/wp-content/uploads/2015/02/snickerdoodles2.jpg',
ST_GeogFromText('SRID=4326;POINT(-97.73798459999999, 30.266898599999998)') ST_GeogFromText('SRID=4326;POINT(-97.73798459999999 30.266898599999998)')
); );
INSERT INTO food_items (id, name, place_id, category, images, thumbImage, loc) INSERT INTO food_items (id, name, place_id, category, images, thumbImage, loc)