can you reach it by http://127.0.0.1:8000?
Can't make Spark installation work
Hello,
The issue is the following: I seem to be able to setup Spark without error messages, however when I open the site in a web browser connection times out after 1 minute without loading any page.
Note that laravel installer works, npm works etc. This is proven by the fact that I can successfully setup a Laravel Homestead box and connect to it. Spark installer is intalled and i succesfully registered my API token.
Here are the ways I tried to install spark:
- with the Spark Installer:
1.1. edited /etc/hosts to include a line like this:
192.168.10.10 spark-test.app
1.2. cloned a Homestead box in my §HOME directory:
`git clone http://github.com/laravel/homestead ~/homestead-spark-tes
1.3. initialised the Homestead.yaml file succesfully
cd ~/homestead-spark-test
bash init.sh
1.4. edited the Homestead.yaml file:
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
name: homestead-spark-test
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Code
to: /home/vagrant/Code
sites:
- map: spark-test.app
to: /home/vagrant/Code/spark-test/public
databases:
- homestead
1.5. Switched to the ~Code directory and ran the spark installer, with npm dependencies and compiling, successfully
cd ~/Code
spark new spark-test
1.6. Vagrant up and SSH into my homestead box
cd ~/homestead-spark-test
sudo vagrant up
sudo vagrant ssh
1.7. Now I am in my box and switch to my project directory for finally succesfully migrating the database
cd Code
cd spark-test
php artisan migrate
Everything seems to run smooth, however when I open http://spark-test.app, connection times out, because it is not reachable. I have verified that nginx is running.
The second way was to include 2 more steps before step 1.6.:
npm install
npm run dev
This does not make any difference. Connection timeout, site not reachable
Finally I tried the manual way, but this did not work, too. I am stuck. :(
Please advice. Thanks.
Please or to participate in this conversation.