Skip to content
Snippets Groups Projects
Commit 1001b6ee authored by Tomasz Wolniewicz's avatar Tomasz Wolniewicz
Browse files

update

parent c29c8aa1
Branches
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ All you need is a https server with pho and mysql support. The server will need ...@@ -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. 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. - 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 - 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. ...@@ -54,7 +54,7 @@ resolution based on the host machine and standard port 80 for connections.
- You need docker instaled on your host machine - 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) - 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 - 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** - As root run **docker run -d --name otp_server --network host --rm otp_server:latest**
## Testing ## Testing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment