From b36b49df11262d61e942e09f5e5db1ea2bda93d4 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Mon, 30 Jan 2023 13:01:45 +0100 Subject: [PATCH] fixed missing mkdir for config file on manual installation method --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d66936..3801b4a 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ chown -R www-data:www-data $WORKING_DIR ```shell WORKING_DIR=/opt/fastapi-dls/app/cert -mkdir $WORKING_DIR +mkdir -p $WORKING_DIR cd $WORKING_DIR # create instance private and public key for singing JWT's openssl genrsa -out $WORKING_DIR/instance.private.pem 2048 @@ -151,6 +151,7 @@ sudo -u www-data -c "/opt/fastapi-dls/venv/bin/uvicorn main:app --app-dir=/opt/f **Create config file** ```shell +mkdir /etc/fastapi-dls cat </etc/fastapi-dls/env DLS_URL=127.0.0.1 DLS_PORT=443