Skip to content

Commit 6c7fe3c

Browse files
committedJan 8, 2025
deploy: cloud init file etc
1 parent 801e065 commit 6c7fe3c

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed
 

‎Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ run:
33
./hugo serve
44

55
build:
6-
./hugo build --gc --minify && cp -r public/ docs/ && echo "done"
6+
./hugo build --gc --minify && cp -r public/* docs && echo "copied to docs/. Done."
7+
8+
publish:
9+
git commit -m "publish" && git push

‎README.markdown

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ GitHub Pages, from the master branch, `docs/` directory (no automated GH action
1313

1414
make build
1515

16-
and push.
16+
and push changes.
17+
18+
Later:
19+
20+
- https://gohugo.io/hosting-and-deployment/hosting-on-github/
1721

1822
## Licence
1923

‎content/building-blocks/deployment.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,18 @@ Reload nginx (send the "reload" signal):
140140
and that's it: you can access your Lisp app from the outside through `http://www.your-domain-name.org`.
141141

142142

143-
## Deploying on Heroku and other services
143+
## Deploying on Heroku, Digital Ocean, OVH, Deploy.sh and other services
144144

145-
See [heroku-buildpack-common-lisp](https://gitlab.com/duncan-bayne/heroku-buildpack-common-lisp) and the [Awesome CL#deploy](https://github.com/CodyReichert/awesome-cl#deployment) section for interface libraries for Kubernetes, OpenShift, AWS, etc.
145+
See:
146+
147+
* [heroku-buildpack-common-lisp](https://gitlab.com/duncan-bayne/heroku-buildpack-common-lisp)
148+
* [Platform.sh](https://platform.sh/blog/2019/lisp/) has Common Lisp support and so has [OVH](https://docs.ovh.com/ie/en/web-paas/languages-lisp/) through their Web PaaS partnership.
149+
* [Heliohost](https://www.heliohost.org/) offer a free shared hosting solution for Common Lisp.
150+
* see the [Awesome CL list #deploy section](https://github.com/CodyReichert/awesome-cl#deployment) for more interface libraries for Kubernetes, OpenShift, AWS, etc.
151+
152+
### Cloud Init
153+
154+
You can take inspiration from this [Cloud Init file for SBCL](https://git.sr.ht/%7Emarcuskammer/cloudinit/tree/main/item/sbcl-nginx.yml), an init file for providers supporting the cloudinit format (DigitalOcean etc).
146155

147156

148157
## Monitoring
@@ -153,3 +162,6 @@ threads, requests per second,…).
153162

154163
See [cl-sentry-client](https://github.com/mmontone/cl-sentry-client/) for error reporting.
155164

165+
## References
166+
167+
- [https://github.com/CodyReichert/awesome-cl#deployment](https://github.com/CodyReichert/awesome-cl#deployment)

‎content/building-blocks/form-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ NIL
8787
(funcall *validator* "foo")
8888
;; =>
8989
NIL
90-
"Length of \"asdf\" is less than 10"
90+
"Length of \"foo\" is less than 10"
9191
```
9292

9393
## List of validators

0 commit comments

Comments
 (0)
Please sign in to comment.