-
Notifications
You must be signed in to change notification settings - Fork 83
Installation Mac
Andy Byers edited this page Jun 26, 2019
·
6 revisions
- Install Homebrew (https://brew.sh/).
- Use Homebrew to install python (
brew install python3). Brew will put Python in/usr/local/bin. - Use Brew to install system requirements:
brew install libjpeg libmagic zlib git. If using Mysql, You should runbrew install libjpeg libmagic zlib git mysql mysql-client - Install virtualenvwrapper (
pip3 install virtualenvwrapper) - 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.
- Make a virtual environment:
mkvirtualenv -p /usr/local/python3 janeway - Clone janeway
git clone https://github.com/BirkbeckCTP/janeway.git - Move into the janeway dir
cd janewayand install requirementspip3 install -r requirements.txt - 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.