Huan LI edited this page Aug 31, 2018
·
3 revisions
Install Better Align
from the Marketplace, then Shift + Command + p
-> >Preferences: Open Keyboard Shortcuts File
-> keybindings.json
, put the following json to it:
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+cmd+=", "command": "wwm.aligncode",
"when": "editorTextFocus && !editorReadonly" }
]
# https://github.com/Googlechrome/puppeteer/issues/290#issuecomment-322921352
apt-get update && \
apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \
ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
Cloud9 IDE is Google Docs for Code, which is my favorite IDE today. Almost all my wechaty development based on Cloud9(Before Oct 2016, or v0.0.5).
Cloud9 IDE written in JavaScript uses Node.js on the back-end. It uses Docker containers for its workspaces and hosted on Google Compute Engine.
Open Terminal in Cloud9 IDE, use nvm to install nodejs v6, which is required by Wechaty.
$ nvm install 6
Downloading https://nodejs.org/dist/v6.2.1/node-v6.2.1-linux-x64.tar.xz...
######################################################################## 100.0%
Now using node v6.2.1 (npm v3.9.3)
$ nvm alias default 6
default -> 6 (-> v6.2.1)
$ node --version
v6.2.1
$ npm install
$ npm run demo
You are set.
Getting Started
FAQ
Troubleshooting
Contributors
Wechaty Developer Program
API
Log
Tests
Badge
Projects Using Wechaty
Links
Related Technologies