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

无法运行 #7

Open
ganjiayi opened this issue Dec 30, 2019 · 4 comments
Open

无法运行 #7

ganjiayi opened this issue Dec 30, 2019 · 4 comments

Comments

@ganjiayi
Copy link

为什么我下载到本地不能运行呢?IE,火狐,谷歌浏览器都试过了,一直显示“Loading...”

@Tridu33
Copy link

Tridu33 commented Jan 11, 2020

安全访问的跨域问题。
Windows10下两个解决方案: 1. 开个本地服务器安全访问,
比如python2的话在当前目录一句“python -m simplehttpserver”;或者python3一句“python -m http.server”,
然后chrome访问网址“http://localhost:8000/”或者“http://0.0.0.0:8000/”能解决问题。

  1. 或者用Microsoft Edge(chrome不行)打开这个修改过的文件,https://github.com/Tridu33/wiwi-circleOfFifths

其实这类问题,开本地Web服务器是最好的解决方案。因为WiWi的代码只是本地安全问题不能直接打开看,我就不Commit了,如果想本地Microsoft Edge能看五度圈就下载第二个备用吧。

@15171476828
Copy link

可惜了,有宝贝但不会用啊...

@ganjiayi
Copy link
Author

OK了,本地正好有Python环境,直接python -m http.server就OK了。

@reload07
Copy link

If you are on macOS, open a Terminal window, go to the downloaded source code folder and run "python3 -m http.server". Then open a browser window Safari or Chrome, access http://localhost:8000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants