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

How to serve? #36

Closed
absolutejam opened this issue Mar 20, 2017 · 3 comments
Closed

How to serve? #36

absolutejam opened this issue Mar 20, 2017 · 3 comments

Comments

@absolutejam
Copy link

I commented on the 'How do I start?' issue (#1 (comment)) but it's closed so I'm not sure anyone will see it!

Just curious, I've built the app as per instructions, but I'm not sure how to serve it? I tried php artisan serve --port=80, serving it behind nginx... To no avail. Can you let me know what I'm missing please?

Thanks!

@ziishaned
Copy link
Owner

ziishaned commented Mar 21, 2017

@absolutejam This issue has already been resolved. Please refer to issue #32

@absolutejam
Copy link
Author

As per #32 (comment), this isnt very clear in the documentation, and isn't serving this way only supposed to be for development?

As I mentioned above, I've tried that already and it isn't working (From within a Docker container with ports 8000 mapped through). stdout shows Laravel development server started on http://127.0.0.1:8000/ but I just get the following when I try to browse to it:

2017-03-21t13 54 57 00 00

@absolutejam
Copy link
Author

I've been busy over the last few days but I realised I was being dumb and re-attempted this. Issue was because I didn't specify --host=0.0.0.0 when running with Docker. Will try and tidy it up a little and see if you want it as a starting point?

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

2 participants