Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
muco-rolle committed Oct 21, 2024
1 parent 95d0b24 commit 7bd1afe
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
17 changes: 17 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,23 @@ Here’s the list of features included in the Keza starter kit:
- [**Fly app deployment**](https://fly.io/) with [**Docker**](https://www.docker.com/)
- [**GitHub Actions**](https://github.com/features/actions) for deploy on merge to production and staging environments

## Installation

```bash
git clone [email protected]:mucolabs/keza_starter_kit.git
cd keza_starter_kit

cp .env.example .env
composer install
npm install

php artisan key:generate

php artisan migrate

composer run dev
```

## Support

If you found the Keza starter kit helpful, please consider supporting it with a star. Thank you!
Expand Down
20 changes: 11 additions & 9 deletions resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,7 @@
content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no"
/>
<title inertia>A minimalist, beautiful, and production-ready starter kit - {{config('app.name', 'Keza')}}</title>
<!-- Scripts -->
<script data-mantine-script="true">
try {
var _colorScheme = window.localStorage.getItem("mantine-color-scheme-value");
var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "light";
var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme);
} catch (e) { }
</script>

@routes
@viteReactRefresh
@vite([
Expand All @@ -25,6 +17,16 @@
"resources/views/pages/{$page['component']}.tsx"
])
@inertiaHead

<!-- Scripts -->
<script data-mantine-script="true">
try {
var _colorScheme = window.localStorage.getItem("mantine-color-scheme-value");
var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "light";
var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme);
} catch (e) { }
</script>
</head>
<body class="font-sans antialiased selection:bg-brand-50 selection:text-brand-500 text-slate-800 min-h-dvh" >
@inertia
Expand Down
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default defineConfig(({ isSsrBuild }) => ({
command: 'php artisan ziggy:generate resources/routes/ziggy --types',
}),
],
server: { https: true },
resolve: {
alias: {
'~/': '/resources/',
Expand Down

0 comments on commit 7bd1afe

Please sign in to comment.