Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

deploy laravel application


Greetings, I want to know how to deploy my Laravel application in production and not die trying, I want to know the steps I need to do before publishing my application, since it does not appear in the Metronic Laravel documentation, so I want to know if they have additional steps. .. thank you


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


To compile the Metronic assets before proceeding with the deployment of your Laravel application, you can use the following command:

npm run prod

Running npm run prod will build and minify the assets, preparing them for deployment. This command is a standard step in the Laravel asset compilation process and will ensure that your Metronic assets are optimized for production use.

Once you've successfully executed npm run prod, you can proceed with the deployment steps for your Laravel application.

If you have any further questions or need additional assistance with the deployment process, please feel free to ask. Thank you!



Greetings,

Deploying your Laravel application for production doesn't require any additional steps beyond the standard Laravel deployment process. You can follow the official Laravel deployment documentation for guidance on deploying your application successfully.

If you encounter any specific issues or have questions during the deployment process, feel free to ask for assistance, and we'll help.



ok, but I was referring to the steps to compile the metronic assets in this case before continuing with the deployment steps


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(