Merge pull request 'readme_vagrant' (#168) from readme_vagrant into master

Reviewed-on: Disroot/Website#168
This commit is contained in:
meaz 2020-11-15 06:25:39 +00:00
commit c78b193336

View file

@ -3,13 +3,13 @@
# Disroot Website Development Environment using Vagrant # Disroot Website Development Environment using Vagrant
## requirements ## requirements
1. vagrant 2.2.6 1. vagrant 2.2.10
for install on Debian run commands: for install on Debian run commands:
``` ```
wget https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb wget https://releases.hashicorp.com/vagrant/2.2.10/vagrant_2.2.10_x86_64.deb
``` ```
``` ```
sudo dpkg -i vagrant_2.2.6_x86_64.deb sudo dpkg -i vagrant_2.2.10_x86_64.deb
``` ```
``` ```
sudo apt install -f sudo apt install -f
@ -58,20 +58,24 @@
``` ```
git clone https://git.disroot.org/Disroot/grav-theme-disroot.git ~/Disroot/grav-theme-disroot git clone https://git.disroot.org/Disroot/grav-theme-disroot.git ~/Disroot/grav-theme-disroot
``` ```
4. Clone grav-plugin-language-selector repo to Disroot folder 4. Clone grav-theme-disrootblog repo to Disroot folder
```
git clone https://git.disroot.org/Disroot/grav-theme-disrootblog.git ~/Disroot/grav-theme-disrootblog
```
5. Clone grav-plugin-language-selector repo to Disroot folder
``` ```
git clone https://git.disroot.org/Disroot/grav-plugin-language-selector.git ~/Disroot/grav-plugin-language-selector git clone https://git.disroot.org/Disroot/grav-plugin-language-selector.git ~/Disroot/grav-plugin-language-selector
``` ```
5. Clone Disroot-Privacy-Policy repo to Disroot folder 6. Clone Disroot-Privacy-Policy repo to Disroot folder
``` ```
git clone https://git.disroot.org/Disroot/Disroot-Privacy-Policy.git ~/Disroot/Disroot-Privacy-Policy git clone https://git.disroot.org/Disroot/Disroot-Privacy-Policy.git ~/Disroot/Disroot-Privacy-Policy
``` ```
6. Add the local domain name for the hub to your host machine's `/etc/hosts` file. 7. 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 echo "192.168.33.12 disroot.lan" >> /etc/hosts
``` ```
7. Launch Vagrant to build the virtual machine (VM). This will take several minutes. 8. Launch Vagrant to build the virtual machine (VM). This will take several minutes.
``` ```
cd ~/Disroot/disroot-website/vagrant cd ~/Disroot/disroot-website/vagrant
vagrant up disroot_lan vagrant up disroot_lan