Be a bit more detailed about deployment

This commit is contained in:
nein.wtf 2022-03-02 08:06:39 +01:00
commit a65900ba9b

View file

@ -29,6 +29,11 @@ Just add it all to the [[https://redbean.dev][redbean executable]]:
nix run nixpkgs#zip -- redbean.com *.lua nix run nixpkgs#zip -- redbean.com *.lua
#+end_src #+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. 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.