Skip to content

Commit 072be3b

Browse files
authored
[Laravel/ripple] added the command for publishing configuration (#9324)
* [Laravel/ripple] Update some configurations to be compatible with the v0.6 * [Laravel/ripple] added the command for publishing configuration
1 parent eb5a286 commit 072be3b

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

frameworks/PHP/laravel/benchmark_config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"notes": "",
140140
"versus": "php"
141141
},
142-
"pripple": {
142+
"ripple": {
143143
"json_url": "/json",
144144
"db_url": "/db",
145145
"query_url": "/queries/",
@@ -154,11 +154,11 @@
154154
"language": "PHP",
155155
"flavor": "PHP8.3",
156156
"orm": "Full",
157-
"platform": "PRipple",
157+
"platform": "Ripple",
158158
"webserver": "PServer",
159159
"os": "Linux",
160160
"database_os": "Linux",
161-
"display_name": "laravel-pripple",
161+
"display_name": "laravel-ripple",
162162
"notes": "",
163163
"versus": "php"
164164
}

frameworks/PHP/laravel/laravel-pripple.dockerfile renamed to frameworks/PHP/laravel/laravel-ripple.dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,17 @@ RUN mkdir -p bootstrap/cache \
3333
storage/framework/views \
3434
storage/framework/cache
3535

36-
# Configure
3736
RUN echo "PRP_HTTP_LISTEN=http://0.0.0.0:8080" >> .env
38-
RUN echo "PRP_HTTP_COUNT=64" >> .env
37+
RUN echo "PRP_HTTP_WORKERS=64" >> .env
38+
RUN echo "PRP_HTTP_RELOAD=0" >> .env
39+
RUN echo "PRP_HTTP_SANDBOX=1" >> .env
3940

41+
# Configure
4042
RUN composer install --quiet
43+
RUN composer require cloudtay/ripple-driver --quiet
44+
RUN php artisan vendor:publish --tag=ripple-config
4145
RUN php artisan optimize
4246

43-
RUN composer require cclilshy/p-ripple-drive --quiet
44-
RUN composer update --quiet
45-
47+
# Start
4648
EXPOSE 8080
47-
48-
ENTRYPOINT ["php","artisan","p:server","start"]
49+
ENTRYPOINT ["php","artisan","ripple:server","start"]

0 commit comments

Comments
 (0)