Commit 2fcfb7bb46

2fcfb7bb46f48ee12054827bba25ad3aca64597a

parent: 5896ffdb06

Unsigned

cmc <hello@cleberg.net> · 2024-03-29 06:51 UTC

format README

Layout: unified · split

README.org +13 −8
@@ -13,7 +13,8 @@ This website & blog uses [[https://orgmode.org/][Org-Mode]], published with [[ht
13 13
14** Configuration 14** Configuration
15 15
16Everything is configured within the =publish.el= file. Refer to the weblorg documentation for further configuration options. 16Everything is configured within the =publish.el= file. Refer to the weblorg
17documentation for further configuration options.
17 18
18** Building 19** Building
19 20
@@ -22,22 +23,26 @@ Local testing can be done via [[https://www.gnu.org/software/emacs/][Emacs]] or
22To get running: 23To get running:
23 24
24#+begin_src shell 25#+begin_src shell
25git clone https://git.cleberg.net/cleberg.net.git 26git clone https://git.cleberg.net/cleberg.net.git cd cleberg.net emacs -nw
26cd cleberg.net
27emacs -nw
28#+end_src 27#+end_src
29 28
30Within Emacs, open any of the repository files. In Doom, I do this with =Spc f f= and selecting =README.org=. Make any changes necessary to customize the project. 29Within Emacs, open any of the repository files. In Doom, I do this with =Spc f
30f= and selecting =README.org=. Make any changes necessary to customize the
31project.
31 32
32To publish, you can use the =build.sh= script (change the deployment target!) or you can run the following commands. 33To publish, you can use the =build.sh= script (change the deployment target!) or
34you can run the following commands.
33 35
34Use the =ENV= environment variable to determine which base URL weblorg will use. If ENV is ommitted, it will default to =localhost:8000=. If =ENV=prod=, weblorg will look in the =publish.el= file for the production base URL. 36Use the =ENV= environment variable to determine which base URL weblorg will use.
37If ENV is ommitted, it will default to =localhost:8000=. If =ENV=prod=, weblorg
38will look in the =publish.el= file for the production base URL.
35 39
36#+begin_src sh 40#+begin_src sh
37ENV=prod emacs --script publish.el 41ENV=prod emacs --script publish.el
38#+end_src 42#+end_src
39 43
40The files will be published to the =.build= directory. You can deploy these files to the target through any number of methods, such as =scp= or SFTP. 44The files will be published to the =.build= directory. You can deploy these
45files to the target through any number of methods, such as =scp= or SFTP.
41 46
42** Tasks 47** Tasks
43 48