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

Install Starter Kit on Github to Laravel Forge


Hi All,

I've uploaded the Laravel Starter Kit as a Github project and from there uploaded it to Laravel Forge which deploys the application automatically.

As described in the manual, I ran npm run dev and yarn but it still does not show any webpage.
The web pointer is to /public, so that should be OK.

I've ran multiple other laravel instances with Forge however I can't get this to work?


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 (1)


Hi,

If you have uploaded the Laravel Starter Kit to GitHub and deployed it to Laravel Forge, there are a few possible reasons why the webpage may not be showing up. Here are some troubleshooting steps you can try:

1. Check Deployment Settings: Ensure that you have correctly configured the deployment settings in Laravel Forge, including the repository URL, branch, and deployment script.

2. Verify NPM and Yarn Packages: Make sure that you have installed the necessary NPM and Yarn packages by running the commands `npm install` and `yarn install` in the project directory.

3. Build Assets: After installing the packages, run the command `npm run dev` or `yarn run dev` to build the assets. This step is necessary to generate the compiled CSS and JavaScript files.

4. Check Server Configuration: Verify that your server configuration in Laravel Forge is correctly set up to serve the Laravel application. Ensure that the document root is pointing to the `/public` directory.

5. Review Logs: Check the server logs in Laravel Forge for any error messages or warnings that could provide insights into the issue. Look for any specific error messages related to the deployment process or asset compilation.

6. Clear Cache: If you have made any changes to the configuration or code, try clearing the cache by running `php artisan cache:clear` and `php artisan config:cache` in the project directory.

7. Access Application Logs: If the above steps don't resolve the issue, you can access the application logs on the server to investigate any potential errors. The logs are typically located in the `storage/logs` directory.

By following these steps, you should be able to identify and resolve any issues that are preventing the webpage from showing up. If the problem persists, please provide any error messages or additional details so that we can assist you further.


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  :(