From 8835290c0382386b45ae2a6ae68f3dba70c89740 Mon Sep 17 00:00:00 2001 From: cclilshy Date: Sun, 29 Sep 2024 22:53:42 +0800 Subject: [PATCH 1/2] [Laravel/ripple] Update some configurations to be compatible with the v0.6 --- frameworks/PHP/laravel/benchmark_config.json | 6 +++--- ...ripple.dockerfile => laravel-ripple.dockerfile} | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) rename frameworks/PHP/laravel/{laravel-pripple.dockerfile => laravel-ripple.dockerfile} (87%) diff --git a/frameworks/PHP/laravel/benchmark_config.json b/frameworks/PHP/laravel/benchmark_config.json index f8421378e51..053534b12fa 100644 --- a/frameworks/PHP/laravel/benchmark_config.json +++ b/frameworks/PHP/laravel/benchmark_config.json @@ -139,7 +139,7 @@ "notes": "", "versus": "php" }, - "pripple": { + "ripple": { "json_url": "/json", "db_url": "/db", "query_url": "/queries/", @@ -154,11 +154,11 @@ "language": "PHP", "flavor": "PHP8.3", "orm": "Full", - "platform": "PRipple", + "platform": "Ripple", "webserver": "PServer", "os": "Linux", "database_os": "Linux", - "display_name": "laravel-pripple", + "display_name": "laravel-ripple", "notes": "", "versus": "php" } diff --git a/frameworks/PHP/laravel/laravel-pripple.dockerfile b/frameworks/PHP/laravel/laravel-ripple.dockerfile similarity index 87% rename from frameworks/PHP/laravel/laravel-pripple.dockerfile rename to frameworks/PHP/laravel/laravel-ripple.dockerfile index 869661a0432..4113111b0d8 100644 --- a/frameworks/PHP/laravel/laravel-pripple.dockerfile +++ b/frameworks/PHP/laravel/laravel-ripple.dockerfile @@ -33,16 +33,16 @@ RUN mkdir -p bootstrap/cache \ storage/framework/views \ storage/framework/cache -# Configure RUN echo "PRP_HTTP_LISTEN=http://0.0.0.0:8080" >> .env -RUN echo "PRP_HTTP_COUNT=64" >> .env +RUN echo "PRP_HTTP_WORKERS=64" >> .env +RUN echo "PRP_HTTP_RELOAD=0" >> .env +RUN echo "PRP_HTTP_SANDBOX=1" >> .env +# Configure RUN composer install --quiet -RUN php artisan optimize - RUN composer require cclilshy/p-ripple-drive --quiet -RUN composer update --quiet +RUN php artisan optimize +# Start EXPOSE 8080 - -ENTRYPOINT ["php","artisan","p:server","start"] +ENTRYPOINT ["php","artisan","ripple:server","start"] From 88bbd1e549b35a9614f885337c90910bf77120a9 Mon Sep 17 00:00:00 2001 From: cclilshy Date: Sun, 13 Oct 2024 17:44:44 +0800 Subject: [PATCH 2/2] [Laravel/ripple] added the command for publishing configuration --- frameworks/PHP/laravel/laravel-ripple.dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frameworks/PHP/laravel/laravel-ripple.dockerfile b/frameworks/PHP/laravel/laravel-ripple.dockerfile index 4113111b0d8..4f1bb8bc3a9 100644 --- a/frameworks/PHP/laravel/laravel-ripple.dockerfile +++ b/frameworks/PHP/laravel/laravel-ripple.dockerfile @@ -40,7 +40,8 @@ RUN echo "PRP_HTTP_SANDBOX=1" >> .env # Configure RUN composer install --quiet -RUN composer require cclilshy/p-ripple-drive --quiet +RUN composer require cloudtay/ripple-driver --quiet +RUN php artisan vendor:publish --tag=ripple-config RUN php artisan optimize # Start