【文件属性】:
文件名称:Ghost-Vagrant:用于开发Ghost的无业游民设置
文件大小:14KB
文件格式:ZIP
更新时间:2021-03-25 16:02:22
Puppet
幽灵游民
使用开发环境。
先决条件
您将需要以下应用程序来设置Ghost开发环境:
Linux用户还将需要nfs-common和nfs-kernel-server :
sudo apt-get install nfs-common nfs-kernel-server
Windows用户应将Vagrant安装到路径中没有空格的目录。
设置
要开始使用Ghost开发环境,您首先需要克隆此存储库:
git clone git://github.com/TryGhost/Ghost-Vagrant.git
将Ghost存储库克隆到新的本地Ghost-Vagrant存储库中:
cd Ghost-Vagrant
git clone git://github.com/Tryghost/Ghost.git
现在我们都克隆了两个仓库,我们可以继续设置虚拟机:
vagrant up
设置虚拟机
【文件预览】:
Ghost-Vagrant-master
----Vagrantfile(2KB)
----Puppetfile.lock(882B)
----modules()
--------.gitkeep(0B)
----Puppetfile(296B)
----LICENSE(1KB)
----README.md(3KB)
----.vm_config_default.yml(80B)
----site-modules()
--------ghost()
----.gitignore(211B)
----manifests()
--------base.pp(655B)