@@ -48,9 +48,9 @@ commands in the following section as that user.
** Building the frontend
#+BEGIN_SRC bash
- cd frontend- yarn install --frozen-lockfile- yarn build
+ cd frontend
+ yarn install --frozen-lockfile
+ yarn build
#+END_SRC
** Building the backend
@@ -64,7 +64,7 @@ commands in the following section as that user.
** Running
Execute the binary to ensure it all works properly:
#+BEGIN_SRC bash
-./codies --debug
+ ./codies --debug
#+END_SRC
** Daemonizing
@@ -76,23 +76,23 @@ Below is a service file for systemd. If you want to use it, paste the
contents into ~/etc/systemd/system/codies.service~.
#+BEGIN_SRC text
-[Unit]-Description=Codies-After=network.target network-online.target-Requires=network-online.target--[Service]-Type=simple-User=codies-Group=codies-WorkingDirectory=/home/codies/codies-ExecStart=/home/codies/codies/codies --debug-TimeoutStopSec=5s-PrivateTmp=true-ProtectSystem=full--[Install]-WantedBy=multi-user.target
+ [Unit]
+ Description=Codies
+ After=network.target network-online.target
+ Requires=network-online.target
+
+ [Service]
+ Type=simple
+ User=codies
+ Group=codies
+ WorkingDirectory=/home/codies/codies
+ ExecStart=/home/codies/codies/codies --debug
+ TimeoutStopSec=5s
+ PrivateTmp=true
+ ProtectSystem=full
+
+ [Install]
+ WantedBy=multi-user.target
#+END_SRC
** Reverse proxy