Skip to content

Installation Mac

Andy Byers edited this page Jun 26, 2019 · 6 revisions

Installing Janeway on Mac OS El Capitan (10.11)

  1. Install Homebrew (https://brew.sh/).
  2. Use Homebrew to install python (brew install python3). Brew will put Python in /usr/local/bin.
  3. Use Brew to install system requirements: brew install libjpeg libmagic zlib git. If using Mysql, You should run brew install libjpeg libmagic zlib git mysql mysql-client
  4. Install virtualenvwrapper (pip3 install virtualenvwrapper)
  5. Add virtualenvrwapper to source by editing .profile or .bash_rc:
VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
export VIRTUALENVWRAPPER_PYTHON
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
source /usr/local/bin/virtualenvwrapper.sh

after, run source ~/.profile or source ~/.bash_rc.

  1. Make a virtual environment: mkvirtualenv -p /usr/local/python3 janeway
  2. Clone janeway git clone https://github.com/BirkbeckCTP/janeway.git
  3. Move into the janeway dir cd janeway and install requirements pip3 install -r requirements.txt
  4. Follow normal installation process from here.

If you run into an error installing mysqlclient you may need to run the following:

export PATH="/usr/local/opt/mysql-client/bin:$PATH"
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"

Wiki has moved to read the docs.

Clone this wiki locally