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

Running the app #17

Open
virtual opened this issue Oct 6, 2019 · 3 comments
Open

Running the app #17

virtual opened this issue Oct 6, 2019 · 3 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@virtual
Copy link

virtual commented Oct 6, 2019

Sorry if this should be obvious, but when I run npm dev nothing loads at localhost. I also tried npm run watch and npm run watch-poll. How do you get the app to show at localhost or localhost:3000?

Also when I run the testing library I get this error:

vagrant@homestead:~/code/laravel-meetup$ vendor/bin/phpunit
PHPUnit 8.3.5 by Sebastian Bergmann and contributors.

.Segmentation fault (core dumped)

Does that mean I don't have enough memory to run this?

@jcs224
Copy link
Member

jcs224 commented Oct 7, 2019

@virtual What version of Node do you have installed? You can check with node -v

Also, so far the instructions we have in the readme assume you have an environment for running Laravel on your machine, such as Homestead or Valet. You can get the full instructions from the Laravel docs.

This is a brand new project, so we're taking some setup steps for granted. This will improve over time. Thanks for reaching out!

@jcs224
Copy link
Member

jcs224 commented Oct 7, 2019

Oh, doh. It looks like you are running it within Homestead, my bad. So, the way the port forwarding works is you have to have your Homestead.yaml file set up with a local domain pointing to the vagrant folder you want to be the document root. Then you need to edit your windows hosts file so when you type it into your browser, it goes to meetup.test or whatever. That's in the aformentioned Laravel docs, but happy to help if you have trouble.

As far as the segfault, try giving the VM more memory by opening up your Virtualbox from your start menu, stopping Homestead, and giving it more default memory (if your system has enough RAM).

@jcs224 jcs224 added documentation Improvements or additions to documentation question Further information is requested labels Oct 17, 2019
@jcs224
Copy link
Member

jcs224 commented Mar 10, 2021

@virtual perhaps you could try running the app with the new readme and see how it goes? We're dropping the official Meetup soon so this repo is seeing some activity again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants