First setup sbcl, second setup quicklisp
This commit is contained in:
parent
5714d1c693
commit
3a4a8a9a94
1 changed files with 14 additions and 14 deletions
|
@ -321,19 +321,6 @@ write_files:
|
||||||
# Clone the SLIME repository for a specific branch and depth
|
# Clone the SLIME repository for a specific branch and depth
|
||||||
git clone --depth 1 --branch v2.28 https://github.com/slime/slime.git /home/cl/slime
|
git clone --depth 1 --branch v2.28 https://github.com/slime/slime.git /home/cl/slime
|
||||||
|
|
||||||
- path: /home/cl/setup_quicklisp.sh
|
|
||||||
owner: 'cl:cl'
|
|
||||||
permissions: '0755'
|
|
||||||
defer: True
|
|
||||||
content: |
|
|
||||||
#!/bin/bash
|
|
||||||
# Needs to be run manually, cant be run automatically.
|
|
||||||
# If runs automatically, `quicklisp.lisp' cant be find by sbcl.
|
|
||||||
curl https://beta.quicklisp.org/quicklisp.lisp -o /home/cl/quicklisp.lisp && chown cl:cl /home/cl/quicklisp.lisp
|
|
||||||
sbcl --load quicklisp.lisp --non-interactive --eval '(quicklisp-quickstart:install)' --quit
|
|
||||||
curl https://git.sr.ht/~marcuskammer/cloudinit/blob/main/.sbclrc -o /home/cl/.sbclrc && chown cl:cl /home/cl/.sbclrc
|
|
||||||
sbcl --non-interactive --eval "(ql:quickload '(:hunchentoot :jonathan :spinneret :dexador :rove :vecto :woo :clsql-sqlite3 :mito :bknr.datastore :cl-project))" --quit
|
|
||||||
|
|
||||||
- path: /home/cl/block_openai.sh
|
- path: /home/cl/block_openai.sh
|
||||||
owner: 'cl:cl'
|
owner: 'cl:cl'
|
||||||
permissions: '0755'
|
permissions: '0755'
|
||||||
|
@ -445,7 +432,7 @@ write_files:
|
||||||
-- Import the data into the 'access_logs' table
|
-- Import the data into the 'access_logs' table
|
||||||
.import '/var/log/nginx/access.csv' access_logs
|
.import '/var/log/nginx/access.csv' access_logs
|
||||||
|
|
||||||
- path: /home/cl/setup_sbcl.sh
|
- path: /home/cl/01_setup_sbcl.sh
|
||||||
owner: 'cl:cl'
|
owner: 'cl:cl'
|
||||||
permissions: '0755'
|
permissions: '0755'
|
||||||
defer: True
|
defer: True
|
||||||
|
@ -469,6 +456,19 @@ write_files:
|
||||||
# Remove source packages
|
# Remove source packages
|
||||||
rm sbcl-2.3.10-source.tar.bz2 && rm -rf sbcl-2.3.10
|
rm sbcl-2.3.10-source.tar.bz2 && rm -rf sbcl-2.3.10
|
||||||
|
|
||||||
|
- path: /home/cl/02_setup_quicklisp.sh
|
||||||
|
owner: 'cl:cl'
|
||||||
|
permissions: '0755'
|
||||||
|
defer: True
|
||||||
|
content: |
|
||||||
|
#!/bin/bash
|
||||||
|
# Needs to be run manually, cant be run automatically.
|
||||||
|
# If runs automatically, `quicklisp.lisp' cant be find by sbcl.
|
||||||
|
curl https://beta.quicklisp.org/quicklisp.lisp -o /home/cl/quicklisp.lisp && chown cl:cl /home/cl/quicklisp.lisp
|
||||||
|
sbcl --load quicklisp.lisp --non-interactive --eval '(quicklisp-quickstart:install)' --quit
|
||||||
|
curl https://git.sr.ht/~marcuskammer/cloudinit/blob/main/.sbclrc -o /home/cl/.sbclrc && chown cl:cl /home/cl/.sbclrc
|
||||||
|
sbcl --non-interactive --eval "(ql:quickload '(:hunchentoot :jonathan :spinneret :dexador :rove :vecto :woo :clsql-sqlite3 :mito :bknr.datastore :cl-project))" --quit
|
||||||
|
|
||||||
runcmd:
|
runcmd:
|
||||||
# Run Certbot to obtain SSL certificates and configure Nginx
|
# Run Certbot to obtain SSL certificates and configure Nginx
|
||||||
- certbot certonly --nginx -d u1.metalisp.dev --non-interactive --agree-tos --email marcus.kammer@mailbox.org --redirect
|
- certbot certonly --nginx -d u1.metalisp.dev --non-interactive --agree-tos --email marcus.kammer@mailbox.org --redirect
|
||||||
|
|
Loading…
Add table
Reference in a new issue