This repository was archived by the owner on Aug 31, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +34
-5
lines changed Expand file tree Collapse file tree 4 files changed +34
-5
lines changed Original file line number Diff line number Diff line change 2
2
A laravel bootstrap template with jetstream
3
3
4
4
[ ![ SL Scan] ( https://github.com/lightszentip/laravel-boostrap/actions/workflows/shiftleft.yml/badge.svg?branch=main )] ( https://github.com/lightszentip/laravel-boostrap/actions/workflows/shiftleft.yml )
5
+
6
+ [ toc]
7
+
8
+ ## First Setup
9
+
10
+ ```` shell
11
+ cp .env.example .env
12
+ php artisan key:generate
13
+ npm run install
14
+ composer install
15
+ ````
16
+
17
+ ## Setup Database
18
+
19
+ For SQL Lite edit the .env:
20
+
21
+ ```` text
22
+ DB_CONNECTION=sqlite
23
+ DB_DATABASE=database/database.sqlite
24
+ SESSION_DRIVER=file
25
+ ````
26
+
27
+ ## Start
28
+
29
+
30
+ ```` markdown
31
+ npm run dev
32
+ php artisan serve
33
+ ````
Original file line number Diff line number Diff line change 23
23
</head >
24
24
<body class =" font-sans antialiased" >
25
25
@if ( ! App:: environment ([' Production' ,' prd' ,' PROD' ]) )
26
- <div class =" md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } Test @version </span ></div >
26
+ <div class =" md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } @version </span ></div >
27
27
@endif
28
28
<x-jet-banner />
29
29
Original file line number Diff line number Diff line change 63
63
</head >
64
64
<body class =" text-center" >
65
65
@if ( ! App:: environment ([' Production' ,' prd' ,' PROD' ]) )
66
- <div class =" invisible md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } Test </span ></div >
67
- <div class =" ribbon ribbon-top-right" ><span >{{ App:: environment () } } Test </span ></div >
66
+ <div class =" invisible md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } @version </span ></div >
67
+ <div class =" ribbon ribbon-top-right" ><span >{{ App:: environment () } } @version </span ></div >
68
68
@endif
69
69
70
70
Original file line number Diff line number Diff line change 35
35
36
36
<div class =" container-fluid px-0" >
37
37
@if ( ! App:: environment ([' Production' ,' prd' ,' PROD' ]) )
38
- <div class =" md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } Test </span ></div >
38
+ <div class =" md:visible ribbon ribbon-top-left" ><span >{{ App:: environment () } } @version </span ></div >
39
39
@endif
40
40
<nav class =" navbar navbar-expand-sm navbar-light bg-light border-bottom" >
41
41
<!-- Navbar content -->
@@ -114,7 +114,7 @@ class="bi bi-brightness-high" viewBox="0 0 16 16">
114
114
v{{ Illuminate \Foundation \Application:: VERSION } } (PHP v{{ PHP_VERSION } }
115
115
) </p >
116
116
@endif
117
- © ; Tobi 2021-<?php echo date (" Y" ); ? >
117
+ © ; lighszentip 2021-<?php echo date (" Y" ); ? >
118
118
</div >
119
119
</footer >
120
120
</div >
You can’t perform that action at this time.
0 commit comments