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

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