Score
0
Watch 9 Star 23 Fork 5

李光春 / 微信开发者工具 Linux版wechat

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
原作者链接在下面,本人已对README.md文件的 git clone 进行修改。 spread retract

https://github.com/cytle/wechat_web_devtools

  • HTML 41.8%
  • CSS 39.8%
  • JavaScript 18.1%
  • Shell 0.2%
  • Other 0.1%
Clone or download
Makefile 1.19 KB
Copy Edit Web IDE Raw Blame History
炒饭 authored 2019-04-10 14:59 . feat: v1.02.1904091
.PHONY: build run
REPO ?= canyoutle/wxdt
TAG ?= latest
WEAPPS ?= ${PWD}/..
PREVIEW_PROJECT ?= wechat-v2ex
build: wechat_v Dockerfile
docker build -t $(REPO):$(TAG) .
docker tag $(REPO):$(TAG) $(REPO):$$(cat wechat_v)
run-preview:
docker run -it \
-v $(WEAPPS):/projects \
-v $(PWD)/bin/docker-entrypoint.sh:/wxdt/bin/docker-entrypoint.sh \
$(REPO):$(TAG) \
sh -c "cli -l && cli -p /projects/$(PREVIEW_PROJECT)"
run:
docker run --rm -d \
-p 6080:80 \
-v $(WEAPPS):/projects \
--name wxdt-test \
$(REPO):$(TAG)
login:
docker exec -it wxdt-test cli -l
preview:
docker exec -it wxdt-test cli -p /projects/${PREVIEW_PROJECT}
log:
docker exec -it wxdt-test cat /var/log/wxdt.err.log
shell:
docker exec -it wxdt-test bash
build-wine: docker/Dockerfile-wine
cd docker; \
docker build -f Dockerfile-wine -t $(REPO):wine .
build-update: docker/Dockerfile-update
cd docker; \
docker build -f Dockerfile-update -t $(REPO):update .
update:
docker run \
-v ${PWD}:/wxdt \
-v wxdt-update:/tmp \
$(REPO):update \
/wxdt/bin/update_package_nw.sh
test:
docker run \
-v ${PWD}:/wxdt \
-v ${WEAPPS}:/projects \
-v wxdt-update:/tmp \
-p 6080:80 \
--name wxdt-test \
$(REPO):wine

Comment ( 0 )

Sign in for post a comment

wechat
1
https://gitee.com/aizhineng/wechat_web_devtools.git
git@gitee.com:aizhineng/wechat_web_devtools.git
aizhineng
wechat_web_devtools
微信开发者工具 Linux版
master

Help Search