Be a bit more detailed about deployment

main
nein.wtf 2022-03-02 08:06:39 +01:00
parent 4d78e9330c
commit a65900ba9b
1 changed files with 6 additions and 1 deletions

View File

@ -29,6 +29,11 @@ Just add it all to the [[https://redbean.dev][redbean executable]]:
nix run nixpkgs#zip -- redbean.com *.lua
#+end_src
The executable can just be put somewher and run.
The executable can just be put somewhere and run, and the update script should be run regularly:
#+begin_src sh
rsync -rztsv --info=progress2 redbean.com sqlite3.com update-data.sh ...
# crontab -e ...
#+end_src
Note that there were some problems deploying the executable to uberspace, which could be resolved by using =redbean-unsecure.com=, which comes without built-in SSL support.