some minors fixes on vagrant files
This commit is contained in:
parent
2513d1c92a
commit
e0ba98b8fc
2 changed files with 10 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
## This Vagrant setup is still Work in Progress, though it can be used as is.
|
||||
# This Vagrant setup is still Work in Progress, though it can be used as is.
|
||||
|
||||
# Disroot Website Development Environment using Vagrant
|
||||
|
||||
|
@ -54,20 +54,20 @@
|
|||
```
|
||||
git clone https://git.fosscommunity.in/disroot/disroot-website.git ~/Disroot
|
||||
```
|
||||
2. Clone grav-theme-disroot repo to Disroot folder
|
||||
3. Clone grav-theme-disroot repo to Disroot folder
|
||||
```
|
||||
git clone https://git.disroot.org/Disroot/grav-theme-disroot.git ~/Disroot
|
||||
```
|
||||
3. Clone grav-plugin-language-selector repo to Disroot folder
|
||||
4. Clone grav-plugin-language-selector repo to Disroot folder
|
||||
```
|
||||
git clone https://git.disroot.org/Disroot/grav-plugin-language-selector.git ~/Disroot
|
||||
```
|
||||
4. Add the local domain name for the hub to your host machine's `/etc/hosts` file.
|
||||
5. 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
|
||||
```
|
||||
5. Launch Vagrant to build the virtual machine (VM). This will take several minutes.
|
||||
6. Launch Vagrant to build the virtual machine (VM). This will take several minutes.
|
||||
```
|
||||
cd ~/Disroot/disroot-website/vagrant
|
||||
vagrant up disroot_lan
|
||||
|
@ -89,12 +89,12 @@ To make your development workflow more efficient, you may wish to use an SSH con
|
|||
user@host:~$ cat ~/.ssh/id_rsa.public
|
||||
ssh-rsa eLX1UQbJHUCHf2V3K7YlMP0YmIT+50rlEsWre1eobApKb0Ac/WbvssX/Gh/ user@host
|
||||
```
|
||||
1. Use `vagrant ssh disroot_lan` to log in to the virtual machine.
|
||||
2. Use `vagrant ssh disroot_lan` to log in to the virtual machine.
|
||||
```
|
||||
user@host:~$ cd ~/disroot-website/vagrant
|
||||
user@host:~$ cd ~/Disroot/disroot-website/vagrant
|
||||
user@host:hubzilla-vagrant$ vagrant ssh disroot_lan
|
||||
```
|
||||
1. Switch to root and add your host user public key.
|
||||
3. Switch to root and add your host user public key.
|
||||
```
|
||||
vagrant@stretch:~$ sudo -i
|
||||
root@jessie:~# ssh-keygen
|
||||
|
@ -121,7 +121,7 @@ To make your development workflow more efficient, you may wish to use an SSH con
|
|||
+-----------------+
|
||||
root@stretch:~# echo "ssh-rsa eLX1UQbJHUCHf2V3K7YlMP0YmIT+50rlEsWre1eobApKb0Ac/WbvssX/Gh/ user@host" >> ~/.ssh/authorized_keys
|
||||
```
|
||||
1. From your host machine, you may now SSH into the virtual machine using
|
||||
4. From your host machine, you may now SSH into the virtual machine using
|
||||
```
|
||||
ssh root@disroot.lan
|
||||
```
|
||||
|
|
|
@ -66,6 +66,7 @@ languages:
|
|||
- es
|
||||
- fr
|
||||
- it
|
||||
- pt
|
||||
- de
|
||||
- ru
|
||||
include_default_lang: true
|
||||
|
|
Loading…
Reference in a new issue