rethinkdb-horizon-angular2
rethinkdb-horizon-angular2 copied to clipboard
not working start script
I followed your guide until npm start
When I run it and then go to the url I only get "File "dist/index.html" not found"
Somehow it's not creating the dist folder with it's contents
Just downloaded and went through the instructions here, and getting the same message when I visit localhost:8181
:/
OSX El Capitan Node 6 Installed RethinkDB via pkg download
Installed folder structure looks like this:
So
hz init
is actually not creating all the necessary files.
If I manually create the required file, and paste the contents it should have from the guide, then I can load the page and I see "App works!" scrolling across the page as it should.
I figured it out. That is only the horizon server address. You still need to open the URL corresponding to your webpack/npm whatever server you are using for your main application.
In my case I'm using webpack for AngularJs which then starts on localhost:8080 - then in my angular index.html i add <script src="//127.0.0.1:8181/horizon/horizon.js"></script>
to connect to the horizon.js file on the horizon server