File tree Expand file tree Collapse file tree 2 files changed +98
-0
lines changed
Expand file tree Collapse file tree 2 files changed +98
-0
lines changed Original file line number Diff line number Diff line change 1+ schemaVersion : 2.2.2
2+ metadata :
3+ name : php-laravel
4+ displayName : Laravel
5+ description : " Laravel is an open-source PHP framework, which is robust and easy to understand.
6+ It follows a model-view-controller design pattern.
7+ Laravel reuses the existing components of different frameworks which helps in creating a web application.
8+ The web application thus designed is more structured and pragmatic."
9+ icon : https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/laravel.svg
10+ tags :
11+ - PHP
12+ - Composer
13+ - Laravel
14+ projectType : Laravel
15+ language : PHP
16+ provider : Red Hat
17+ version : 3.0.0
18+ starterProjects :
19+ - name : php-laravel-starter
20+ git :
21+ checkoutFrom :
22+ revision : main
23+ remotes :
24+ origin : https://github.com/devfile-samples/devfile-stack-php-laravel.git
25+ components :
26+ - container :
27+ endpoints :
28+ - name : https-laravel
29+ targetPort : 8000
30+ protocol : https
31+ image : quay.io/devfile/universal-developer-image:ubi9-latest
32+ args : ["tail", "-f", "/dev/null"]
33+ memoryLimit : 1024Mi
34+ mountSources : true
35+ name : runtime
36+ commands :
37+ - exec :
38+ commandLine : composer install
39+ component : runtime
40+ group :
41+ isDefault : false
42+ kind : build
43+ workingDir : ${PROJECT_SOURCE}
44+ id : install
45+ - exec :
46+ commandLine : cp .env.example .env
47+ component : runtime
48+ group :
49+ isDefault : false
50+ kind : build
51+ workingDir : ${PROJECT_SOURCE}
52+ id : cp-env
53+ - exec :
54+ commandLine : php artisan config:clear
55+ component : runtime
56+ group :
57+ isDefault : false
58+ kind : build
59+ workingDir : ${PROJECT_SOURCE}
60+ id : clear-config
61+ - exec :
62+ commandLine : php artisan key:generate
63+ component : runtime
64+ group :
65+ isDefault : false
66+ kind : build
67+ workingDir : ${PROJECT_SOURCE}
68+ id : gen-new-app-key
69+ - exec :
70+ commandLine : composer dump-autoload
71+ component : runtime
72+ group :
73+ isDefault : false
74+ kind : build
75+ workingDir : ${PROJECT_SOURCE}
76+ id : composer-dump
77+ - composite :
78+ commands :
79+ - install
80+ - cp-env
81+ - clear-config
82+ - gen-new-app-key
83+ - composer-dump
84+ group :
85+ isDefault : true
86+ kind : build
87+ label : Provision Laravel Server
88+ parallel : false
89+ id : init-server
90+ - exec :
91+ commandLine : php artisan serve --host=0.0.0.0
92+ component : runtime
93+ group :
94+ isDefault : true
95+ kind : run
96+ workingDir : ${PROJECT_SOURCE}
97+ id : run
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ versions:
99 - version : 1.0.1
1010 - version : 2.0.0
1111 - version : 2.0.1
12+ - version : 3.0.0
1213 default : true
You can’t perform that action at this time.
0 commit comments