fix deployement
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -8,7 +8,7 @@
|
||||
/vendor
|
||||
.env
|
||||
.env.backup
|
||||
.env.production
|
||||
.env.prod
|
||||
.phpunit.result.cache
|
||||
Homestead.json
|
||||
Homestead.yaml
|
||||
|
||||
1
Makefile
1
Makefile
@@ -1,4 +1,5 @@
|
||||
deploy: public/build/manifest.json
|
||||
scp raspigate:/var/www/html/lara-bermite/.env .env.prod
|
||||
pnpm run build
|
||||
ssh raspigate 'cd /var/www/html/lara-bermite && git pull origin master && make install'
|
||||
scp -r public/build raspigate:/var/www/html/lara-bermite/public
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
"rollup-plugin-copy": "^3.5.0",
|
||||
"tailwindcss": "^3.3.3",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^4.4.9",
|
||||
"vite-plugin-pwa": "^0.16.5"
|
||||
"vite": "^4.4.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"d3": "^7.8.5",
|
||||
|
||||
1669
pnpm-lock.yaml
generated
1669
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<link rel="icon" href="/images/favicon.ico" sizes="any">
|
||||
<link rel="icon" href="/images/favicon.svg" type="image/svg+xml">
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import laravel from 'laravel-vite-plugin';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
import copy from "rollup-plugin-copy";
|
||||
|
||||
export default defineConfig({
|
||||
@@ -16,26 +15,5 @@ export default defineConfig({
|
||||
{ src: 'resources/images/*', dest: 'public/images' },
|
||||
]
|
||||
}),
|
||||
// VitePWA({
|
||||
// registerType: 'autoUpdate',
|
||||
// workbox: {
|
||||
// globPatterns: ['**/*.{js,css,html,ico,png,svg}']
|
||||
// },
|
||||
// manifest: {
|
||||
// name: 'Bermite',
|
||||
// short_name: 'Bermite',
|
||||
// lang: 'fr',
|
||||
// description: 'Une application de suivi météo',
|
||||
// theme_color: '#ffffff',
|
||||
// icons: [
|
||||
// {
|
||||
// src: 'images/weather.png',
|
||||
// sizes: '521x512',
|
||||
// type: 'image/png',
|
||||
// }
|
||||
// ],
|
||||
// display: 'standalone',
|
||||
// }
|
||||
// }),
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user