Laravel 5.6 中文文档
要想在文件系统的任意路径都能够运行 vagrant up 启动 Homestead 虚拟机,在 Mac/Linux 系统中,可以添加 Bash 函数到 ~/.bash_profile; 在 Windows 系统上,需要添加“批处理”文件到 PATH。这些脚本允许你在系统的任意位置运行 Vagrant 命令,并且把命令执行位置指向 Homestead 的安装路径。 Mac/Linux function homestead() 用的,此外要让 ~/.bash_profile 修改后生效,有两种方法,一种是退出系统重新登录,一种是使用 source ~/.bash_profile 命令。 Windows 在系统的任意位置创建一个批处理文件 homestead.bat: @echo off set cwd=%cd% set homesteadVagrant=C:\Homestead cd /d %homesteadVagrant%0 码力 | 377 页 | 14.56 MB | 1 年前3Laravel 6.0 中文文档
要想在文件系统的任意路径都能够运行 vagrant up 启动 Homestead 虚拟机,在 Mac/Linux 系统中,可以添加 Bash 函数 到 ~/.bash_profile;在 Windows 系统上,需要添加「批处理」 文件到 PATH。这些脚本允许你在系统的任意位置运行 Vagrant 命 令,并且把命令执行位置指向 Homestead 的安装路径。 Mac/Linux function homestead() ~/.bash_profile 修改后生效,有两种方法,一种是 退出系统重新登录,一种是使用 source ~/.bash_profile 命令。 Windows 在系统的任意位置创建一个批处理文件 homestead.bat: @echo off set cwd=%cd% set homesteadVagrant=C:\Homestead cd /d %homesteadVagrant%0 码力 | 1442 页 | 14.66 MB | 1 年前3
共 2 条
- 1