PGBI / kong-dashboard

Dashboard for managing Kong gateway
MIT License
2.17k stars 390 forks source link

unable to load kong-dashboard on centos7 #62

Closed zhujinhu21 closed 7 years ago

zhujinhu21 commented 7 years ago

1234 after npm start ,access http://localhost:8080/ i can't see web manage, only js css navgiation.

hos7ein commented 7 years ago

i have same problem on centos 7.2 and only display "Cannot GET /" on screen! how can i fix this problem?

tnx

PGBI commented 7 years ago

@zhujinhu21 If the public folder doesn't contain the index.html file, it means something went wrong when building the app on npm install. Can you try again with the last version of kong dashboard?

hos7ein commented 7 years ago

after download dashboar src , go to src dir and run this command :

cd kong-dashboard

and then run this command :

npm install

then run this command :

npm start -- -p 9091 -a admin=hos7ein

after that open web browser with this address :

http:[server-ip]:9091

after enter user and password i see "Not Found" msg on page!

all of output is here : http://paste.fedoraproject.org/513633/37403148/

tnx

PGBI commented 7 years ago

@hos7ein Looks like npm install only downloads npm packages, without running the install script defined in package.json.

What's your version of npm (npm -v)? Can you please try running npm run install after npm install?

hos7ein commented 7 years ago

@PGBI tnx man run successful 👍

all of output :

http://paste.fedoraproject.org/513649/14828410/

tnx ;)