From ac894f2a42249f38768af32cf969e1f501b02727 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Sat, 22 Aug 2026 14:35:00 +0100 Subject: [PATCH] Minor changes while trying to get this running again -- which it very nearly does. --- README.md | 6 ++++-- resources/templates/app.html | 6 +----- src/clj/youyesyet/db/core.clj | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c37d944..4791dca 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,10 @@ Consequently, to get a build running: 2. within your cloned repository, check out a branch (usually `develop` or `master`); 3. if you have previously built the project within your cloned repository, run `lein clean`; 4. **this is the important bit** run `lein adl` to generate much of the application code; -5. run `lein run` to start your development server; -6. if you want to do client debugging, you'll want to run `figwheel` in a separate process, but also from the same cloned repository directory; I normally do this by opening a second terminal and invoking `lein figwheel`. +5. run `lein npm install`; +6. run `lein cljs once`; +7. run `lein run` to start your development server; +8. if you want to do client debugging, you'll want to run `figwheel` in a separate process, but also from the same cloned repository directory; I normally do this by opening a second terminal and invoking `lein figwheel`. ## Further Reading diff --git a/resources/templates/app.html b/resources/templates/app.html index 9c2220f..01fe84f 100644 --- a/resources/templates/app.html +++ b/resources/templates/app.html @@ -48,9 +48,5 @@ - + {% endblock %} - - - - diff --git a/src/clj/youyesyet/db/core.clj b/src/clj/youyesyet/db/core.clj index f28b3fe..fd4af57 100644 --- a/src/clj/youyesyet/db/core.clj +++ b/src/clj/youyesyet/db/core.clj @@ -22,8 +22,8 @@ "Primary connection to the main database. TODO: this does not yet enable sharding." :start (conman/connect! {:jdbc-url-env (env :database-url) - ;; :jdbc-url "jdbc:postgresql://127.0.0.1/youyesyet_dev?user=youyesyet&password=thisisnotsecure" - :jdbc-url "jdbc:postgresql://127.0.0.1/loriner?user=youyesyet&password=thisisnotsecure" + :jdbc-url "jdbc:postgresql://127.0.0.1/youyesyet_dev?user=youyesyet&password=yourverysecurepassword" + ;;:jdbc-url "jdbc:postgresql://127.0.0.1/loriner?user=youyesyet&password=thisisnotsecure" :driver-class-name "org.postgresql.Driver"}) :stop (conman/disconnect! *db*))