Skip to content

微信开发者工具(微信小程序)linux完美支持

Notifications You must be signed in to change notification settings

woniuxingdong/wechat_web_devtools

 
 

Repository files navigation

Linux微信web开发者工具

This repo is just forked from cytle/wechat_web_devtools For detailed information, check the original repo.

Installation

  1. Install wine if you'd like to use GUI

  2. Install wechat web devtools

git clone https://github.com/cytle/wechat_web_devtools.git
cd wechat_web_devtools
./bin/wxdt install

Usage of wechat web devtool

  1. GUI
./bin/wxdt # start 

CLI & HTTP invocation

./bin/cli

端口号文件位置:~/.config/wechat_web_devtools/Default/.ide

微信文档参考:

Docker

未安装wine,仅限cli调用

可以直接run

docker run -it \
    -v $PWD:/projects \
    canyoutle/wxdt \
    sh -c "cli -l && cli -p /projects/your-project"

或是启动一个持久的容器

docker run -d \
    --name wxdt \
    -p 6080:80 \
    -v $PWD:/projects \
    canyoutle/wxdt

docker exec -it wxdt cli -l # 登录
docker exec -it wxdt cli -p /projects/your-project # 预览工程

docker stop wxdt # 暂停容器
docker start wxdt # 下次使用,不用再run,可以直接exec

Update

git pull origin

Uninstallation

  1. 关闭 微信web开发者工具
  2. 项目文件夹下运行 ./bin/wxdt uninstall (删除桌面图标、微信web开发者工具配置目录), 开发者工具配置文件, 所有工程和登录信息均会消失
  3. 删除项目文件夹

About

微信开发者工具(微信小程序)linux完美支持

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 40.9%
  • CSS 34.0%
  • JavaScript 24.8%
  • Shell 0.3%
  • Makefile 0.0%
  • Dockerfile 0.0%