update readme, add real site url to project.clj, remove obsolete doc comment from web.clj

This commit is contained in:
Morgan Astra 2016-08-09 21:30:46 -07:00
parent e3c5f5d366
commit a228358111
4 changed files with 10 additions and 21 deletions

View File

@ -33,20 +33,20 @@ Ctrl+q <tab>
### Running the app in a dev environment ### Running the app in a dev environment
You can launch the app on your own computer by running the following You can launch the app on your own computer by running the following
commands: command:
``` ```
$ lein uberjar $ lein ring server
$ java -cp target/pronouns-standalone.jar clojure.main -m pronouns.web
``` ```
Then browse to localhost:5000 This will launch a server running the app and open your default web browser to the index page. The server will automatically reload files as you edit them.
You can also just run quickstart.sh which will do all of these things for you. Do it like this to get an example running on port 666 ## Philosophy on pronoun inclusion
Pronoun.is aims foremost and exclusively to be a useful resource for people to communicate the personal pronoun they use for themselves.
It is possible to use these example sentences to demonstrate the usage of words that are not personal pronouns, or even cleverly insert an [entire story](http://pronoun.is/she/or%20they,%20those%20ships%20who%20were%20docked%20and%20still%20equipped%20with%20ancillaries,%20arranged%20to%20share%20the%20duty%20of%20monitoring%20our%20guest%20as%20it%20fit%20into%20their%20routines;%20that%20was%20the%20agreement,%20despite%20it%20being%20less%20convenient%20for%20me%20to%20participate%20at%20all,%20on%20the%20grounds%20that%20certain%20visitors%20might%20prefer%20a%20constant%20individual%20companion%20to%20what%20might%20seem,%20depending%20on%20their%20past%20experiences,%20to%20be%20undue%20attention%20from%20every%20soldier%20they%20passed.%20As%20usual,%20then,%20I%20took%20the%20first%20shift/the%20one%20possession%20of%20hers%20that%20Station%20Security%20hadn't%20confiscated,%20a/knowingly%20left%20with%20her.%20What%20a%20Presger%20frisbee%20might%20do%20or%20even%20look%20like%20I%20couldn't%20say.%20She%20hadn't%20seemed%20the%20sort%20to%20have%20alien%20technology,%20but,%20then%20again,%20neither%20had%20I/another%20unremarkable%20stranger,%20quite%20a%20ways%20down%20the%20concourse,%20who%20caught%20it%20with%20a%20degree%20of%20coordination%20that%20most%20would%20have%20overlooked.%20It%20did%20not%20escape%20my%20notice,%20however.%20"Cousin,"%20I%20said,%20enough%20to%20convey%20-%20unless%20our%20visitor%20were%20quite%20ignorant,%20but,%20of%20course,%20at%20this%20point%20I%20was%20certain%20that%20she%20couldn't%20be%20-%20both%20that%20I%20knew%20what%20she%20was%20not%20and%20that%20I%20was%20giving%20her%20the%20benefit%20of%20the%20doubt%20as%20to%20what,%20or%20who,%20she%20was)! However, as a policy we will not include such entries in the database.
```
$ ./quickstart.sh 666
```
## License ## License
Copyright © 2014-2015 Morgan Astra <m@morganastra.me> Copyright © 2014-2016 Morgan Astra <m@morganastra.me>

View File

@ -1,8 +1,6 @@
(defproject witch-house/pronouns "1.9.0-SNAPSHOT" (defproject witch-house/pronouns "1.9.0-SNAPSHOT"
:description "Pronoun.is is a web app for showing usage examples of personal pronouns in English." :description "Pronoun.is is a web app for showing usage examples of personal pronouns in English."
:url "http://pronouns.herokuapp.com" :url "http://pronoun.is"
:license {:name "FIXME: choose"
:url "http://example.com/FIXME"}
:dependencies [[org.clojure/clojure "1.6.0"] :dependencies [[org.clojure/clojure "1.6.0"]
[compojure "1.1.8"] [compojure "1.1.8"]
[ring/ring-jetty-adapter "1.2.2"] [ring/ring-jetty-adapter "1.2.2"]

View File

@ -1,5 +0,0 @@
#!/bin/sh
export PORT=6666
lein uberjar
java -cp target/pronouns-standalone.jar clojure.main -m pronouns.web

View File

@ -51,7 +51,3 @@
(defn -main [] (defn -main []
(let [port (Integer. (:port env))] (let [port (Integer. (:port env))]
(jetty/run-jetty app {:port port}))) (jetty/run-jetty app {:port port})))
;; For interactive development:
;; (.stop server)
;; (def server (-main))