massi-world

this website of mine
Log | Files | Refs

README.org (1116B)


      1 * massi-world 🌎
      2 It's my website. It's a work in progress. I'm building up a static
      3 site generator in clojure from the ground up becuse it's interesting
      4 and I've been meaning to use a lisp more. clojure is pretty cool so
      5 far.
      6 
      7 * Dependencies 🔗
      8 - marked - md generation
      9 - prettier - formatting html output for debugging purposes
     10 
     11 * Tips ‼
     12 ** SSL on dev
     13 Run this in project root for ssl on dev server (so we can keep
     14 https:// hardcoded):
     15 
     16 =openssl req -newkey rsa:2048 -new -nodes -x509
     17 -days 3650 -keyout key.pem -out cert.pem=
     18 
     19 However, there's a warning about self-signing the cert and i'm not
     20 sure how to get that to go away.
     21 https://www.npmjs.com/package/http-server seems like it has some
     22 advice.
     23 
     24 ** Publishing
     25 - Running make build will build using the prod env
     26 - Make serve will build using the dev env
     27 - To make a one-off dev build, run =MW_ENV=dev make build=
     28 
     29 Edit =~/.ssh/config= like so the Makefile and your computer are in
     30 agreement about where to push.
     31 #+BEGIN_SRC
     32 Host mw
     33     Hostname ssh.xyz.example.net
     34     User xxx
     35 #+END_SRC
     36 
     37 * Todo 😴
     38 - Split out js in swatchbuckler
     39 - Finish the website