From 1001b6ee7782c81bfe4fe278329703e6fb346b9b Mon Sep 17 00:00:00 2001 From: Tomasz Wolniewicz <twoln@umk.pl> Date: Fri, 2 Jun 2023 19:09:10 +0200 Subject: [PATCH] update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c81f142..fe04587 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ All you need is a https server with pho and mysql support. The server will need If you run stuff within secure environment (as you should) you do not need https. -When you unpack the code form Git: +When you unpack the code from Git: - Run composer to pull the TOTP PHP package. - Create a directory where you will place server config file and copy **otp_config-template.php** there @@ -54,7 +54,7 @@ resolution based on the host machine and standard port 80 for connections. - You need docker instaled on your host machine - If you do not want to use **--network host** option then decide which port will be mapped to your Docker image (say 8080) - Download the code from git -- As root run **aa-t otp_server:latest .** +- As root run **docker build -t otp_server:latest .** - As root run **docker run -d --name otp_server --network host --rm otp_server:latest** ## Testing -- GitLab