https://github.com/anatta336/inertia-playground
https://github.com/anatta336/inertia-playground
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/anatta336/inertia-playground
- Owner: Anatta336
- Created: 2024-04-07T19:15:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-07T20:22:17.000Z (over 1 year ago)
- Last Synced: 2025-04-07T21:18:28.036Z (6 months ago)
- Language: PHP
- Size: 190 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Inertia Playground
Just playing around with Inertia.## Startup
You'll need Docker installed to run this project.This project is set up to use Sail, so normally installing dependencies would be done through Sail's Docker container. But the first time running, you'll not have the Sail Docker image locally. You can install the dependencies using a temporary container:
```
docker run --rm -u $UID:$(id -g) -v $PWD:/app composer install --ignore-platform-reqs
```Build the project's Docker images:
```
./vendor/bin/sail build
```Bring the containers up:
```
./vendor/bin/sail up -d
```Install dependencies:
```
./vendor/bin/sail composer i
./vendor/bin/sail npm i
```Run the project:
```
./vendor/bin/sail npm run dev
```You should then be able to access the project locally at: http://localhost/products