diff --git a/README.md b/README.md index 9d47bb9..0c08e15 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# Stasis +# Nota +> nota : mark, token, note, sign. + Static Markdown Blog/Site using Fulcro & Pathom with no backend # Prerequisites @@ -9,7 +11,7 @@ Things you need installed to use this repository - [babashka](https://github.com/babashka/babashka#installation) # Developers -Commands and alias for tooling while developing stasis. +Commands and alias for tooling while developing nota. ## Install dependencies ```bash @@ -17,7 +19,7 @@ npm install ``` ## Set configurations -Set the [`resources/config.edn`](https://github.com/rafaeldelboni/stasis/blob/main/resources/config.edn) with your keys or the corresponding enviroment variables. +Set the [`resources/config.edn`](https://github.com/rafaeldelboni/nota/blob/main/resources/config.edn) with your keys or the corresponding enviroment variables. The config is generated using shadow-cljs hook, macros and [juxt/aero](https://github.com/juxt/aero) under the hood, check it's documentation for more information on how to use. _[Aero's #profile](https://github.com/juxt/aero#profile)_ reader conditionals available: @@ -146,7 +148,7 @@ Are you sure? (y/N): This will **delete** the file `resources/public/posts/hello-world.md` and remove the entry in the database `src/data.edn`. ## Tags -Tags aren't required to stasis work, but you can override it's default behaviour (capitalize tag) to customize the name that will be shown. +Tags aren't required to nota work, but you can override it's default behaviour (capitalize tag) to customize the name that will be shown. ### New Tags ```bash diff --git a/bb.edn b/bb.edn index ea10ca7..7f3db62 100644 --- a/bb.edn +++ b/bb.edn @@ -3,11 +3,11 @@ :deps {babashka/fs {:mvn/version "0.1.0"} borkdude/rewrite-edn {:mvn/version "0.1.0"} dev.nubank/docopt {:mvn/version "0.6.1-fix7"}} - :tasks {new:post stasis.main/new-post - del:post stasis.main/del-post - new:page stasis.main/new-page - del:page stasis.main/del-page - new:tag stasis.main/new-tag - del:tag stasis.main/del-tag - tests (do (load-file "scripts/stasis/tests.clj") - (clojure.test/run-tests 'stasis.tests))}} + :tasks {new:post nota.main/new-post + del:post nota.main/del-post + new:page nota.main/new-page + del:page nota.main/del-page + new:tag nota.main/new-tag + del:tag nota.main/del-tag + tests (do (load-file "scripts/nota/tests.clj") + (clojure.test/run-tests 'nota.tests))}} diff --git a/package-lock.json b/package-lock.json index f2fb581..3277afd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "stasis", + "name": "nota", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "stasis", + "name": "nota", "version": "1.0.0", "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index cb8f328..5382434 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "stasis", + "name": "nota", "version": "1.0.0", "description": "Static Markdown Blog/Site using Fulcro & Pathom with no backend", "scripts": { - "css:watch": "sass --watch src/css/sakura.css:resources/public/css/sakura.min.css src/css/stasis.css:resources/public/css/stasis.min.css", - "css:release": "sass src/css/sakura.css:resources/public/css/sakura.min.css src/css/stasis.css:resources/public/css/stasis.min.css --style=compressed", + "css:watch": "sass --watch src/css/sakura.css:resources/public/css/sakura.min.css src/css/nota.css:resources/public/css/nota.min.css", + "css:release": "sass src/css/sakura.css:resources/public/css/sakura.min.css src/css/nota.css:resources/public/css/nota.min.css --style=compressed", "js:watch": "shadow-cljs watch main", "js:release": "shadow-cljs release main", "ci-tests": "shadow-cljs compile ci-tests && karma start --single-run", diff --git a/resources/config.edn b/resources/config.edn index dcf9348..0a88cb7 100644 --- a/resources/config.edn +++ b/resources/config.edn @@ -1,4 +1,4 @@ {:path-prefix #profile {:dev "" - :release "stasis"} + :release "nota"} :app-prefix "#" :default-route "home"} diff --git a/resources/public/index.html b/resources/public/index.html index 8e11ebf..a5ef523 100644 --- a/resources/public/index.html +++ b/resources/public/index.html @@ -4,7 +4,7 @@ -