- Python 3
- Pip 3
$ brew install python3
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
## Usefull configurations | |
export TERM="xterm-256color" # This sets up colors properly | |
# set shell | |
export SHELL=/usr/bin/zsh | |
# If you come from bash you might have to change your $PATH. | |
export NODE_PATH=$NODE_PATH:$HOME/.npm-global/lib/node_modules | |
export JAVA_HOME=/usr/java/latest |
$ brew install python3 # Installed at /usr/local/Cellar/python3
Check that python3 has been installed by running it at the terminal:
$ python3
>>> Python 3.6.5
get-pip.py
from https://bootstrap.pypa.io/get-pip.py and install (this should already be installed if python was installed from python.org or homebrew):