You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
db | 3 years ago | |
kv | 3 years ago | |
load-balancer | 3 years ago | |
util | 3 years ago | |
web | 3 years ago | |
.dir-locals.el | 4 years ago | |
.gitattributes | 3 years ago | |
.gitignore | 3 years ago | |
Makefile | 3 years ago | |
README.org | 3 years ago |
README.org
RhymeStorm™
How To Initialize Development Environment
Required Software
Steps
-
Run
./db/run.sh && ./kv/run.sh
to start the docker containers for the database and key-value store.- The
run.sh
scripts only need to run once. They initialize development data containers. Subsequent development can continue withdocker start db && docker start kv
.
- The
- Start a Clojure REPL in Emacs, evaluate the
dev/user.clj
namespace, and run(init)
- Visit
http://localhost:8000
How To Run Software Locally
Steps
-
Run
./db/run.sh && ./kv/run.sh
to start the docker containers for the database and key-value store.- The
run.sh
scripts only need to run once. They initialize development data containers. Subsequent development can continue withdocker start db && docker start kv
.
- The
- The application's
jar
builds with amake
run from the root directory. (See Makefile). - Navigate to the root directory of this git repo and run
java -jar darklimericks.jar
- Visit http://localhost:8000
Development
Requires Tachyons CSS. There is a symlink in web/resources/public
to the pre-built tachyons.css
and tachyons.min.css
found in the repo.
Build .jar
with clojure -X:depstart uberjar :jar prhyme.jar
.
TODO
Use tightly packed trie for limerick generation
Move limerick-specific code into this repo from Prhyme.
Or maybe into its own repo.