Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • 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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(