Comments (2)
二:
使用http-server
1.下载安装nodejs
2.安装http-server
确保nodejs安装成功后在cmd运行【npm install http-server -g】指令,表示安装到全局,之后所有文件夹路径下输入http-server都可以使用。
3.转到你解压出compressed-dist.tgz的文件夹,右键点击在终端打开
4.如果右键没有在终端中打开,那么你可以先打开终端,如果你解压后的文件在D盘,运行指令【D:】回车,然后执行指令【cd xxxx(xxx表示你存放解压后文件夹的地址)】,转到文件夹所在地址后,运行【http-server -p xxxx(xxxx表示你要开启的端口)】,也可以直接使用【http-server】指令,默认端口一般为8080。
5.如果所有步骤正确会出现如下界面
访问cmd中的地址
第一个为局域网/公网访问地址,如果你没有公网,那么别人是无法访问的,
第二个为本地访问地址,只有本机可以访问
6.以图片为例,访问 【xxx/index.html(xxx表示cmd中的地址)】 或者Ctrl+左键点击访问地址,即可进入web控制界面。
7.在终端界面使用Ctrl+C即可关闭服务
8.可以使用bat脚本快捷打开web控制界面,在该文件夹内新建bat文件,
输入以上内容,端口可以自定义。
之后双击bat文件即可运行http-server
from metacubexd.
不知道你现在还需不要本地部署,但是有两个简单的方法可以本地部署。
使用vscode插件可以在vscode中进行暂时本地部署访问:
- 下载发行版中的compressed-dist.tgz
- 解压到某个本地文件夹
- 使用vscode打开该文件夹
4.下载插件fiveserver
5.进入index.html,右键点击Open with Five Server
这将会打开你的默认浏览器运行出该界面
from metacubexd.
Related Issues (20)
- Safari下报错 Load failed ,Chrome正常,同样的参数 HOT 1
- Rule规则界面看不到规则
- 手动对 providers 类型测速后触发 providers 下方附属节点在 UI 界面上的高延迟/假掉线 BUG [复现] HOT 2
- docker image cant't be downloaded HOT 4
- 拉取镜像提示manifest unknown
- 把设置保持到配置文件 HOT 2
- 建议加个更新核心里面可以选择版本的功能
- 我设置了 geo 下载的 url,点击按钮没更新 HOT 1
- 增加自动更新MetaCUBEX的功能
- docker img 无法下载 HOT 7
- 使用acl4ssr规则时,进入面板的规则标签页会卡死 HOT 2
- 手动点击策略组测速延时会假掉线 HOT 5
- 建议添加个 proxy-provider 下各节点的别名 tag,比如叫 alias_tag HOT 2
- [Feature request]类似yacd的url参数读取功能,自动填写hostname,secret等 HOT 1
- 对proxy-groups中hidden参数的处理
- 最新版1.135.0的bug HOT 2
- Hope to adapt the hidden strategy API
- 希望面板可以带内核实现订阅管理功能 HOT 6
- [Feature] 增加配置文件拉取功能
- 1.136.0版本页面空白,无法显示任何信息 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metacubexd.