一、deepdive环境搭建及数据库安装
1、下载deepdive
在用虚拟机尝试未果后,借来了一台Mac电脑,利用桌面右上角的搜索图标,搜索terminal,打开终端,开始下载DeepDive
bash
下载完成后选择1安装deepdive
### DeepDive installer for Mac
+ curl -fsSL https://github.com/HazyResearch/deepdive/raw/v0.8.x/util/install/install.Mac.sh
1) deepdive 5) postgres
2) deepdive_examples_tests 6) run_deepdive_tests
3) deepdive_from_release 7) spouse_example
4) deepdive_from_source
# Select what to install (enter for all options, q to quit, or a number)? 1
安装完成后需要配置环境变量,deepdive的可执行文件一般安装在~/local/bin文件夹下。
2、添加deepdive的环境变量:export PATH="/Users/ds/local/bin:$PATH"
1、如果你是第一次配置环境变量,可以使用“touch ~/.bash_profile” 创建一个.bash_profile的隐藏配置文件(如果你是为编辑已存在的配置文件,则使用"open -e ~/.bash_profile"命令)
2、输入“open -e ~/.bash_profile”命令,打开配置编辑窗口