Last active
September 29, 2015 16:57
-
-
Save albertosouza/8af1c779253fce5c3988 to your computer and use it in GitHub Desktop.
How to install we.js v0.3.x in Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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