Remove setting up JWT for API

This commit is contained in:
Loïc Frémont 2020-03-09 17:29:53 +01:00 committed by Mateusz Zalewski
parent 2cfd2cd287
commit 09944b606d
No known key found for this signature in database
GPG key ID: 9BECA0BB71612E52

View file

@ -8,10 +8,5 @@ run_command "if [ ! -z \"${SYMFONY_VERSION}\" ]; then bin/require-symfony-versio
run_command "composer install --no-interaction --prefer-dist" || exit $?
run_command "composer dump-env test_cached" || exit $?
print_header "Setting up JWT for API" "Sylius"
run_command "source .env.test"
run_command "openssl genrsa -out config/jwt/private-test.pem 4096 -algorithm rsa -passout env:JWT_PASSPHRAS rsa_keygen_bits:4096"
run_command "openssl pkey -in config/jwt/private-test.pem -out config/jwt/public-test.pem -pubout"
print_header "Warming up dependencies" "Sylius"
run_command "yarn install" || exit $?