forked from jobscore/sync-engine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmac.setup.sh
executable file
·31 lines (24 loc) · 908 Bytes
/
mac.setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
# https://github.com/gnuhub/sync-engine/issues/2
brew install lua
# https://github.com/gnuhub/sync-engine/issues/3
brew install mysql-connector-c
# https://github.com/gnuhub/sync-engine/issues/8
# some more actions
# https://github.com/gnuhub/sync-engine/issues/8#issuecomment-397231081
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime
# https://github.com/gnuhub/sync-engine/issues/9#issuecomment-397225469
if [ -d /Applications/XAMPP ];then
ln -sv /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock /tmp/mysql.sock
fi
# https://github.com/gnuhub/sync-engine/issues/12
sudo mkdir -p /var/lib/inboxapp/parts
sudo chmod -R 777 /var/lib/inboxapp
source activate py27
pip uninstall -y python-dateutil
pip uninstall -y flanker
pip uninstall -y imapclient
conda env export -n py27 > py27.yaml
pip install -r requirements.txt
pip install -e .
conda env export -n py27 > py27.yaml