Fix some errors with vagrant

This commit is contained in:
meaz 2021-07-16 10:13:55 +02:00
parent 1b958c5da6
commit 494235686c
Signed by: meaz
GPG key ID: CD7A47B2F1ED43B4
2 changed files with 4 additions and 4 deletions

View file

@ -68,15 +68,15 @@
```
7. Clone Disroot Changelog repo to Disroot folder
```
git clone https://git.disroot.org/Disroot/CHANGELOG.git ~/Disroot/Disroot-Privacy-Policy
git clone https://git.disroot.org/Disroot/CHANGELOG.git ~/Disroot/Disroot-Changelog
```
8. Add the local domain name for the hub to your host machine's `/etc/hosts` file.
```
echo "192.168.33.12 disroot.lan" >> /etc/hosts
sudo "192.168.33.12 disroot.lan" >> /etc/hosts
```
9. Launch Vagrant to build the virtual machine (VM). This will take several minutes.
```
cd ~/Disroot/disroot-website/vagrant
cd ~/DisrootWebsite/vagrant
vagrant up disroot_lan
```

2
vagrant/Vagrantfile vendored
View file

@ -22,6 +22,6 @@ Vagrant.configure("2") do |config|
disroot_lan.vm.synced_folder "../../grav-theme-disrootblog/", "/var/www/grav-theme-disrootblog", owner: "www-data", group: "www-data"
disroot_lan.vm.synced_folder "../../grav-plugin-language-selector/", "/var/www/grav-plugin-language-selector", owner: "www-data", group: "www-data"
disroot_lan.vm.synced_folder "../../Disroot-Privacy-Policy/", "/var/www/privacy_policy/", owner: "www-data", group: "www-data"
disroot_lan.vm.synced_folder "../../CHANGELOG/", "/var/www/changelog/", owner: "www-data", group: "www-data"
disroot_lan.vm.synced_folder "../../Disroot-Changelog/", "/var/www/changelog/", owner: "www-data", group: "www-data"
end
end