5/30/2019 - 6:35 PM



  • Instalar xcode desde appstore
  • xcode-select --install
  • brew install ant
  • brew install android-sdk
  • brew install watchman
  • brew install nodejs
  • brew install ios-sim

meteor - react-native 2016

  • Instalar xcode desde appstore
  • xcode-select --install
  • brew cask install java
  • brew install android-studio
  • brew install nodejs
  • npm install -g react-native-cli
  • brew install watchman

Instalación (linux -android only) Instalar JAVA jdk (el de oracle no el openjdk, android no lo recomienda)

  1. agregar repo 64 bits android tools
    • sudo dpkg --add-architecture i386
  • agregar repo java
    • sudo add-apt-repository ppa:webupd8team/java
    • sudo apt-get update
  • Instalar adicionales para tools
    • sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
    • sudo apt-get install libgl1-mesa-dev:i386
  • Instalar java
  • sudo apt-get install oracle-java7-installer

##Instalar Android SDK Tools

  • desempacar y mover a /opt
    • sudo mv android-sdk-linux /opt/android-sdk-linux
  • crear archivo environments
    • vi ~/.pam_environment
    • Setear variables globales y guardar
    • export PATH=${PATH}:~/opt/android-sdk-linux/tools
    • export PATH=${PATH}:~/opt/android-sdk-linux/platform
  • actualizar el sdk
  • ir a carpeta: $ cd /opt/android-sdk-linux/tools
    • ejecutar: $ ./android update sdk
  • agregar estas lineas al ~/.bashrc
    • export ANDROID_HOME=/opt/android-sdk-linux
    • export PATH=$PATH:$ANDROID_HOME/tools
    • export PATH=$PATH:$ANDROID_HOME/platforms
    • export PATH=$PATH:$ANDROID_HOME/platform-tools
  • reiniciar consola
  • Instalar dependencias
    • sudo apt-get -u install ant
    • sudo apt-get install android-tools-adb ( Android Debug Bridge )
  • (Opcional)
  • instalar android-studio ( link: )
#cd ~/.config/fish/
. ~/.config/fish/nvm-wrapper/
function fish_prompt
    set_color $fish_color_cwd
   # echo -n (prompt_pwd)
  if test "$PWD" != "$HOME"
        printf "%s" (echo $PWD|sed -e 's|/private||' -e "s|^$HOME|~|")
        echo '~'
  set_color normal
  if not set -q __git_cb
    set __git_cb ":"(set_color brown)(git branch ^/dev/null | grep \* | sed 's/* //')(set_color normal)""
  echo -n $__git_cb '> '

function fish_right_prompt -d "Write out the right prompt"
    set_color yellow
    set_color normal

thefuck --alias | source

#install in c9 sudo mkdir -p /var/run/couchdb sudo chown couchdb:couchdb /var/run/couchdb sudo su couchdb -c /usr/bin/couchdb


#new user { "_id": "org.couchdb.user:user_staging", "name": "user_staging", "type": "user", "roles": [], "password": "user_staging_pass" }

FROM sctrcdr/ubuntu-base
MAINTAINER Stephen Masters <>

# Add a repo where OpenJDK can be found.
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:webupd8team/java
RUN apt-get update

# Auto-accept the Oracle JDK license
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections

RUN apt-get install -y oracle-java8-installer

# install ssh server
sudo apt-get install openssh-server
sudo apt-get install tmux
#get tmux
# set fish
cd ~/.config/fish/
wget -qO- | bash
git clone git:// nvm-wrapper
#edit add this line
. ~/.config/fish/nvm-wrapper/
#set git access
ssh-keygen -t rsa -C ""
cat ~/.ssh/

#set git repo
git config --global ""
git config --global "Eli Diaz"
git config --global alias.addc '!git add -A && git commit'

#manage github repos
sudo add-apt-repository ppa:cpick/hub
sudo apt-get update
sudo apt-get install hub

sudo apt-get install git-flow
git clone --recursive git://
make install prefix=$HOME
 . ~/.bashrc

git remote set-url origin

Make simlink
ln -s ls /usr/bin/ls2

#create file
echo ":)" >
sudo apt-get install apache2
sudo apt-get install mysql-server php5-mysql
sudo mysql_install_db
#i86 lib
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

#libstdc++6:i386  --dont find

apt-get install lib32stdc++6

#g++ compiler
sudo apt-get install g++

sudo apt-get install oracle-java8-installer

#apache ant
sudo apt-get install ant

#sdk android
android update sdk

# el sdk 19

npm install -g node-gyp

apt-get install python2.7
sudo apt-get install python-pip

sudo npm install nativescript -g --unsafe-perm

Instalar NodeJS (runtime) EN UBUNTU:Entrar a Ubuntu Software Center y buscar la palabra “nodejs-legacy” (debido a que en debian tiene que hacerse un symlink) e instalar el Evented I/O for V8 javascript (legacy symlink) .

Entrar a Ubuntu Software Center y buscar la palabra “npm” el Package manager for Node.js

Instalar manejador de instalaciones de node sudo n stable

brew install watchman
brew intall flow
curl -o- | bash
nvm install node && nvm alias default node
# lazy tmux start =D
PROJECT_DIR = 'Documents/projects/'

tmux new-session -d -s worksession
tmux rename-window 'worksession'
#load vagrant
tmux send-keys 'cd Documents/projects/' 'C-m'
tmux send-keys 'fish' 'C-m'
#tmux send-keys 'vagrant up' 'C-m'
#tmux send-keys 'vagrant ssh' 'C-m'
#tmux send-keys 'sudo service httpd start' 'C-m'
#tmux send-keys 'sudo service mysqld start' 'C-m'

#server error log
tmux split-window -h -t worksession:0
tmux send-keys 'cd Documents/projects/' 'C-m'
tmux send-keys 'fish' 'C-m'
#tmux send-keys 'tail -f ~/Projects/centos_6/log/error_log' 'C-m'

tmux split-window -v -t 0
tmux send-keys 'cd Documents/Projects/' 'C-m'
tmux send-keys 'fish' 'C-m'

#app and access error
tmux split-window -v -t 1
tmux send-keys 'cd Documents/projects/' 'C-m'
tmux send-keys 'fish' 'C-m'
#tmux send-keys 'tail -f ~/Projects/nuevo_vagrant/log/access_log' 'C-m'

# tmux split-window -v -t 1
# tmux send-keys 'cd Projects/app-clasificados/' 'C-m'
# tmux send-keys 'fish' 'C-m'
#tmux send-keys 'tail -f ~/Projects/nuevo_vagrant/log/access_log' 'C-m'

# tmux split-window -v -t 0
# tmux send-keys 'cd Projects/app-clasificados/' 'C-m'
# tmux send-keys 'fish' 'C-m'
#tmux send-keys 'tail -f ~/Projects/nuevo_vagrant/log/access_log' 'C-m'

tmux select-pane -t 2

tmux  attach-session -t worksession
#get vundle

git clone ~/.vim/bundle/Vundle.vim