Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to install we.js v0.3.x in Ubuntu
#!/bin/bash
#node
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install nodejs
#mysql
sudo apt-get install mysql-server mysql-client
#git
sudo apt-get install git
#graphicsmagick
sudo apt-get install graphicsmagick
#global npm packages
sudo npm install we yo generator-wejs -g
# fix npm cache owner
sudo chown -R [yourusername] ~/.npm
# test
# before create a mysql database with test name
git clone https://github.com/wejs/we-core.git
cd we-core
npm install
npm test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.