zouhir / jarvis

A very intelligent browser based Webpack dashboard
5.44k stars 191 forks source link

Set up instructions #60

Closed ugogo closed 6 years ago

ugogo commented 6 years ago

Hey guys, I was trying to set up locally Jarvis, but I ran into two issues

There are two servers launched in parallel, is this wanted? localhost:3000 and localhost:1337 https://www.dropbox.com/s/5l7j90ttjhug4ao/Capture%20d%27%C3%A9cran%202018-01-16%2010.28.41.png?dl=0

The "dev" one seems to be on :3000, but it seems broken:

https://www.dropbox.com/s/g2j0a1ch2hptwo7/Capture%20d%27%C3%A9cran%202018-01-16%2010.29.55.png?dl=0

Steps to reproduce:

Am I missing something? Thanks!

Sunshine168 commented 6 years ago

oh it seem jarvis break in it's dev mode . because#33 custom port support

if you change document.location.port to 1337 it will work ,just access localhost:1337. And we can discuss a better way to fix it ,

localhost:3000 is the dev server for develop jarvis as a developer localhost:1337 is for you to use jarvis as a user

hope to help you ~

zouhir commented 6 years ago

Investigating... please give me little time ⏳🙀

ugogo commented 6 years ago

Any updates guys? 😢

stephencookdev commented 6 years ago

This can be closed, right? Looks like this has been fixed by https://github.com/zouhir/jarvis/commit/e972f4446017812333e3eb143a69a47c9ee8d1b0 and https://github.com/zouhir/jarvis/commit/aa32fd9ea0509278df88ff2a16a61c9a18c69691 (same as https://github.com/zouhir/jarvis/issues/104)

Just running npm run watch seems to work fine, now

lukeed commented 6 years ago

Yes, #112 completely changed & simplified the development process. It's now all under a single server~!

ugogo commented 6 years ago

Yep, I can confirm that everything is working as expected now, thx guys