zlrth / libby

0 stars 0 forks source link

libby

configuring your host machine for the sql database

first you install mysql, following some of these directions: https://coderwall.com/p/os6woq/uninstall-all-those-broken-versions-of-mysql-and-re-install-it-with-brew-on-mac-mavericks . ignore most of it. just do like brew update and brew upgrade and brew install and then (important!):

possibly-useful link:

http://stackoverflow.com/questions/17666249/how-to-import-an-sql-file-using-the-command-line-in-mysql

Prerequisites

You will need Leiningen 2.0 or above installed.

Running

To start the db, run:

mysqld &

To start a web server for the application, run:

lein run

another installation note

flux 0.7.0 still (october 15 2017) isn't in clojars, so you need to lein install it manually like so:

https://github.com/matthoffman/solr-clojure-sample#step-15

License

MIT

make sure to grep for "password" before open-sourcing anything.