GithubHelp home page GithubHelp logo

Comments (11)

NareshRdyC avatar NareshRdyC commented on June 10, 2024 1

@vaughngx4 Will these changes what was suggested in docker/socioboard-web works in windows server also without using docker. Thank you.

This suggestion helped me to solve configuration issue. Thank you quick suggestions.

from socioboard-5.0.

vaughngx4 avatar vaughngx4 commented on June 10, 2024

@NareshRdyC I would strongly suggest sticking to php artisan serve. I have yet to dig into the frontend and we have little to no support from developers. If you're convinced you want to use apache I'd look into converting a Laravel application into a LAMP application, but this would require some development/config.

Look into using Hyper-V to spin up a linux machine and run it in there. If you're having trouble, try the automated Docker deployment using ansible on my fork.

from socioboard-5.0.

NareshRdyC avatar NareshRdyC commented on June 10, 2024

@vaughngx4 : Thank you for quick reply. I have noted what you mentioned. I have read in multiple posts that Artisan server is not recommended for production/live. What server (Opensource) I need to use in production, which I can configure to access using https. Thank you.

from socioboard-5.0.

vaughngx4 avatar vaughngx4 commented on June 10, 2024

@NareshRdyC I see your point. Give me some time, I'll see what I can do.

from socioboard-5.0.

vaughngx4 avatar vaughngx4 commented on June 10, 2024

@NareshRdyC I've pushed changes to my fork. All in production env now :)

from socioboard-5.0.

vaughngx4 avatar vaughngx4 commented on June 10, 2024

Using nginx and php-fpm instead of apache. If all is well you can mark the issue as solved.

from socioboard-5.0.

NareshRdyC avatar NareshRdyC commented on June 10, 2024

@vaughngx4 I will check it and update status here. Thank you.

from socioboard-5.0.

NareshRdyC avatar NareshRdyC commented on June 10, 2024

Using nginx and php-fpm instead of apache. If all is well you can mark the issue as solved.

When I try above getting error 404 Not Found. But other sample PHP files it was working. Is there a way to run Artisan using valid https certificates. Thank you.

from socioboard-5.0.

vaughngx4 avatar vaughngx4 commented on June 10, 2024

@NareshRdyC The root folder should be socioboard-web-php/public. The server.php file is only for artisan. See my fork in docker/socioboard-web there is a full setup with nginx as the web server.

from socioboard-5.0.

NareshRdyC avatar NareshRdyC commented on June 10, 2024

@vaughngx4 Will these changes what was suggested in docker/socioboard-web works in windows server also without using docker. Thank you.

from socioboard-5.0.

vaughngx4 avatar vaughngx4 commented on June 10, 2024

@vaughngx4 Will these changes what was suggested in docker/socioboard-web works in windows server also without using docker. Thank you.

Yes. If you can set up NGINX with php-fpm you can use my nginx.conf files to serve the frontend in production environment. How are you setting it up? Natively on Windows or using Hyper-V and a VM? If you're using a VM simply install a linux distro and search the internet for how to get nginx and php-fpm installed and working. You could probably use Apache but I haven't myself so I won't be able to assist with that.

from socioboard-5.0.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.