Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forge deployment #2

Closed
martin-ro opened this issue Jan 29, 2024 · 3 comments
Closed

Forge deployment #2

martin-ro opened this issue Jan 29, 2024 · 3 comments

Comments

@martin-ro
Copy link
Contributor

Hi,

thanks for this great starter package. I've been playing around with it locally.

Would you mind explaining how to deploy this setup with forge? As this is a monolith how'd you run octane and also serve the frontend with nuxt?

Cheers

@k2so-dev
Copy link
Owner

@martin-ro Hello. Unfortunately, I have no experience with laravel forge, but I can assume that it is necessary to create 2 proxy web servers separately for Laravel and for Nuxt.js. For example, Laravel on the api.example.com subdomain proxies 127.0.0.1:8000, and Nuxt on example.com proxies 127.0.0.1:3000.

I hope I somehow helped in solving the problem.

@martin-ro
Copy link
Contributor Author

What tripped me up was that forge will hide the Octane & Horizon toggles when the path is set to dist. Other than that I think I got it mostly working. Thanks.

@LarryBarker
Copy link

@martin-ro Mind sharing details?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants