laravel-vite-docker
Running Laravel and React stacks together using Vite and InertiaJS on Docker.
File Explorer
Download Latest Version (.zip)- bug_report.md
- feature_request.md
- other-issues.md
- FUNDING.yml
- default.conf
- composer.dockerfile
- nginx.dockerfile
- php.dockerfile
- Kernel.php
- Handler.php
- Controller.php
- Authenticate.php
- EncryptCookies.php
- HandleInertiaRequests.php
- PreventRequestsDuringMaintenance.php
- RedirectIfAuthenticated.php
- TrimStrings.php
- TrustHosts.php
- TrustProxies.php
- ValidateSignature.php
- VerifyCsrfToken.php
- Kernel.php
- User.php
- AppServiceProvider.php
- AuthServiceProvider.php
- BroadcastServiceProvider.php
- EventServiceProvider.php
- RouteServiceProvider.php
- .gitignore
- app.php
- app.php
- auth.php
- broadcasting.php
- cache.php
- cors.php
- database.php
- filesystems.php
- hashing.php
- logging.php
- mail.php
- queue.php
- sanctum.php
- services.php
- session.php
- view.php
- UserFactory.php
- 2014_10_12_000000_create_users_table.php
- 2014_10_12_100000_create_password_reset_tokens_table.php
- 2019_08_19_000000_create_failed_jobs_table.php
- 2019_12_14_000001_create_personal_access_tokens_table.php
- DatabaseSeeder.php
- .gitignore
- .htaccess
- favicon.ico
- index.php
- robots.txt
- app.css
- Welcome.jsx
- app.jsx
- bootstrap.js
- app.blade.php
- welcome.blade.php
- api.php
- channels.php
- console.php
- web.php
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- .gitignore
- ExampleTest.php
- ExampleTest.php
- CreatesApplication.php
- TestCase.php
- .editorconfig
- .env.example
- .gitattributes
- .gitignore
- .styleci.yml
- artisan
- CHANGELOG.md
- composer.json
- composer.lock
- package-lock.json
- package.json
- phpunit.xml
- README.md
- vite.config.js
- .env.example
- .gitignore
- docker-compose.yml
- LICENSE
- README.md
# Installation Guide
git clone https://github.com/elvinlari/laravel-vite-docker
Downloads the entire project code from GitHub to your computer.
cd laravel-vite-docker
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
git clone https://github.com/elvinlari/laravel-vite-docker.git
Downloads the entire project code from GitHub to your computer.
Running Laravel and React stacks together using Vite and InertiaJS on Docker.
Type this command into your terminal and run it.
<a href="https://github.com/elvinlari/laravel-vite-docker/issues">Report Bug</a>
Type this command into your terminal and run it.
<a href="https://github.com/elvinlari/laravel-vite-docker/issues">Request Feature</a>
Type this command into your terminal and run it.
Pulled directly from this repo's README.
3. Node.js
Easycd src
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
4. PHP (Composer)
Easycd src
This project's files live in a subfolder, so move into it first.
composer install
Installs the PHP libraries listed in composer.json.
