We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c7a2b2c + c0491e5 commit 8dc4a36Copy full SHA for 8dc4a36
3 files changed
web-framework/php/laravel/publish.yaml
@@ -1,7 +1,7 @@
1
Edition: 3.0.0
2
Type: Project
3
Name: start-laravel-v3
4
-Version: 0.0.5
+Version: 0.0.6
5
Provider:
6
- 阿里云
7
Description: 本案例是将非常流行的基于PHP编程语言的开发框架 Laravel 快速部署到阿里云函数计算 FC。
web-framework/php/laravel/src/code/start.sh
@@ -4,4 +4,5 @@ set +e
chmod -R 777 /code/mylaravel/bootstrap/cache
chmod -R 777 /code/mylaravel/storage
cd /code/mylaravel
+cp .env.example .env
8
php artisan serve --host=0.0.0.0 --port=9000
web-framework/php/laravel/src/s.yaml
@@ -21,6 +21,8 @@ resources:
21
- /code/start.sh
22
functionName: ${vars.functionName}
23
code: ./code
24
+ environmentVariables:
25
+ APP_KEY: base64:1484xsuUgwXy8fjnW82sDJH9KKBoDYSb88LUlass3Og=
26
triggers:
27
- triggerName: httpTrigger
28
triggerType: http
0 commit comments