0

I am new to Laravel Forge and l want to deploy my app with laravel at backend. What should l type in the following fields so that my app can be deployed successfully: Deploy Script and Edit nginx configuration under Edit Files

I tried to restart the server and nginx file but to no avail.

1 Answer 1

0

The whole point of Laravel Forge is that you do not need to type anything in there.

Deploy Script is already there when you create new app on server. Nginx configuration is also there so there is no need to do anything with it.

Maybe you wondering how to create new laravel app on forge? if that is the case then you need to create your local app first on your computer then you need to do your first commit to github and then you need to deploy that repositiry to your Laravel Forge.

Watch this tutorial it will explain in in detail: https://laracasts.com/series/learn-laravel-forge-2022-edition/

Sign up to request clarification or add additional context in comments.

2 Comments

l deployed an app from my GitHub repository but to my surprise, there is no content in the Nginx Configuration except this statement: cat: '/etc/nginx/sites-available/app.example.co.za': No such file or directory
l deleted the app l was deploying and recreated a new site .lt was successfully deployed. Thanks @aurawindsurfing

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.