How to Deploy a web app with Laravel Vapor

id: 3958 name: vapor-example environments: production: memory: 1024 cli-memory: 512 build: - 'composer install --no-dev' - 'php artisan event:cache' - 'npm ci && npm run prod && rm -rf node_modules' staging: memory: 1024 cli-memory: 512 build: - 'composer install' - 'php artisan event:cache' - 'npm ci && npm run dev && rm -rf node_modules'
id: 3958 name: vapor-example environments: production: build: - 'composer install --no-dev' - 'php artisan event:cache' - 'npm ci && npm run prod && rm -rf node_modules' deploy: - 'php artisan migrate --force'
<img src="{{ asset('img.jpg') }}">
id: 3958 name: vapor-example environments: Production: storage: vapor-example-bucket build: - 'composer install --no-dev' - 'php artisan event:cache' - 'npm ci && npm run prod && rm -rf node_modules' deploy: - 'php artisan migrate --force'
id: 3958 name: vapor-example environments: Production: storage: vapor-example-bucket database: my-application-db build: - 'composer install --no-dev' - 'php artisan event:cache' - 'npm ci && npm run prod && rm -rf node_modules' deploy: - 'php artisan migrate --force'
id: 3958 name: vapor-example environments: Production: storage: vapor-example-bucket database: my-application-db domain: test-domain.com build: - 'composer install --no-dev' - 'php artisan event:cache' - 'npm ci && npm run prod && rm -rf node_modules' deploy: - 'php artisan migrate --force'

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
2Hats Logic Solutions

2Hats Logic Solutions

2Hats Logic is a technology service company provide customized web and mobile application development.