zoukankan      html  css  js  c++  java
  • Ubuntu/Debian 微信安装

    1. 更新系统

    $ sudo apt-get update
    $ sudo apt-get install git-core curl build-essential openssl libssl-dev
    

     2. 安装Node.js

         首先我们先从github上将Node.js库克隆到本地:

    $ git clone https://github.com/nodejs/node.git
    $ cd node
    

     3. 编译和安装Node:

    $ ./configure
    $ make
    $ sudo make install
    

        安装完毕,可以在命令行里面输入以下命令以便确认Node是否安装完毕:

    $ node -v
    v0.10.33
    

        这个命令会输出你安装Node版本信息,如果你电脑上面输出和下面的类似,那恭喜你了,安装Node成功。

    4. 安装npm

        这个很简单,NPM官方提供了安装NPM的脚本,所以我们把这个脚本下载下来执行一下就可以:

    $ wget https://npmjs.org/install.sh --no-check-certificate
    $ chmod 777 install.sh
    $ ./install.sh
    $ npm -v
    2.7.6
    

       如果输入npm -v,返回的是一个类似上面的版本信息,那么NPM也就安装成功了!

    5. 安装wechat

    # Clone this repository
    git clone https://github.com/geeeeeeeeek/electronic-wechat.git
    # Go into the repository
    cd electronic-wechat
    # Install dependencies and run the app
    npm install && npm start
    

       如果要打包成一个应用程序,按照自己的平台执行以下之一:

    npm run build:osx
    npm run build:linux
    npm run build:win32
    npm run build:win64
    
  • 相关阅读:
    Beta 冲刺day 6
    Beta冲刺day5
    Beta冲刺day4
    Beta 冲刺day3
    Beta 冲刺day2
    Beta冲刺day1
    Beta预备
    城市安全风险管理项目Postmortem结果
    项目总结
    Alpha冲刺置顶随笔
  • 原文地址:https://www.cnblogs.com/lvchaoshun/p/7593566.html
Copyright © 2011-2022 走看看