diff --git a/README.md b/README.md index 94be9f51..74c431e7 100644 --- a/README.md +++ b/README.md @@ -29,14 +29,10 @@ You can use prebuilt images generated by our CI workflow by downloading the dock - Linux Machine ``` - curl -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip - + curl -L -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip unzip /tmp/crapi.zip - cd crAPI-main/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ``` @@ -51,14 +47,10 @@ You can use prebuilt images generated by our CI workflow by downloading the dock - Windows Machine ``` - curl.exe -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip - + curl.exe -L -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip tar -xf .\crapi.zip - cd crAPI-main/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ``` @@ -75,14 +67,10 @@ You can use prebuilt images generated by our CI workflow by downloading the dock - Linux Machine ``` - curl -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip - - unzip /tmp/crapi.zip - + curl -L -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip + unzip /tmp/crapi.zip cd crAPI-develop/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ``` @@ -97,14 +85,10 @@ You can use prebuilt images generated by our CI workflow by downloading the dock - Windows Machine ``` - curl.exe -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip - + curl.exe -L -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip tar -xf .\crapi.zip - cd crAPI-develop/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ``` diff --git a/docs/setup.md b/docs/setup.md index d9fd2ec2..533b6309 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -23,14 +23,10 @@ You can use prebuilt images generated by our CI workflow by downloading the dock - Linux Machine ``` - curl -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip - + curl -L -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip unzip /tmp/crapi.zip - cd crAPI-main/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ``` @@ -45,14 +41,10 @@ You can use prebuilt images generated by our CI workflow by downloading the dock - Windows Machine ``` - curl.exe -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip - + curl.exe -L -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/main.zip tar -xf .\crapi.zip - cd crAPI-main/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ``` @@ -64,19 +56,15 @@ You can use prebuilt images generated by our CI workflow by downloading the dock LISTEN_IP="0.0.0.0" docker compose -f docker-compose.yml --compatibility up -d ``` - - To use the latest development version + - To use the latest development version - Linux Machine ``` - curl -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip - + curl -L -o /tmp/crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip unzip /tmp/crapi.zip - cd crAPI-develop/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ``` @@ -91,14 +79,10 @@ You can use prebuilt images generated by our CI workflow by downloading the dock - Windows Machine ``` - curl.exe -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip - + curl.exe -L -o crapi.zip https://github.com/OWASP/crAPI/archive/refs/heads/develop.zip tar -xf .\crapi.zip - cd crAPI-develop/deploy/docker - docker compose pull - docker compose -f docker-compose.yml --compatibility up -d ```