zoukankan      html  css  js  c++  java
  • minium 环境部署及相关配置

    参考:https://developers.weixin.qq.com/community/develop/article/doc/0000cae3a58748ed7f2c8975351413

       https://www.h5w3.com/12452.html

         https://minitest.weixin.qq.com/#/minium/Python/introduction/quick_start?id=%e8%bf%90%e8%a1%8c%e7%8e%af%e5%a2%83

    环境依赖:

    • Python 3.x
    • 微信公共库版本 >= 2.7.3
    • 微信开发者工具下载地址:https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html

    文档使用:

      前提:需要node.js 环境

      命令:npm i docsify-cli -g

      checkout文档项目:git clone https://git.weixin.qq.com/minitest/minium-doc

      安装依赖:cd minium-doc  

           npm install
     本地部署:
    docsify serve . 需要进入到文档目录
      

    框架压缩包:

      下载框架压缩包:https://git.weixin.qq.com/minitest/minium-doc/raw/master/minium/Python/dist/minium-latest.zip 

      安装压缩包:pip3 install minium-latest.zip  或者 python3 setup.py install

      验证是否安装成功:minitest -v

    使用微信开发者工具命令行工具:

      要使用命令行,注意首先需要在开发者工具的设置 -> 安全设置中开启服务端口

      

      将命令行工具配置到系统路径里面:

      

       验证是否配置成功:cmd中输入cli ,查看是否可用

    cli(微信开发者工具命令行)常用命令:

      官方文档cli命令:https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html#%E8%87%AA%E5%8A%A8%E9%A2%84%E8%A7%88

      cli -o  项目路径

      

      cli --auto 小程序项目路径 --auto-port 9420

       

       这里的–auto-port请填写 9420,不是开发者工具安全模式的端口

      

       小程序自动化参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/auto/

       

  • 相关阅读:
    sql语句的优化分析
    log4net.config
    redis lua 脚本实例
    Lua 脚本
    ServiceStack.Redis之IRedisClient<第三篇>
    有关Redis的Add和Set方法的比较
    如何在自己网站加上视频直播功能(搭建视频直播网站)
    带进度条的上传插件
    YII获取当前URL
    MYSQL常用命令
  • 原文地址:https://www.cnblogs.com/aiyumo/p/14892847.html
Copyright © 2011-2022 走看看