added a note on cloning submodules when you forgot to do it in the initial commit

This commit is contained in:
manetta 2020-03-11 14:43:13 +01:00
parent f4eb64d2fb
commit 085923b640

View File

@ -24,8 +24,11 @@ The other one, 'plugins-custom', consists of plugins that we wrote ourself.
To clone both the varia.website and pelican-plugins repository, add the --recurse-submodules option in your git clone command:
`git clone https://git.vvvvvvaria.org/varia/varia.website.git --recurse-submodules`
`$ git clone https://git.vvvvvvaria.org/varia/varia.website.git --recurse-submodules`
If you forgot to clone with the submodile argument, you can still do it with the following command:
`$ git submodule update --init --recursive`
## Install
@ -35,10 +38,14 @@ $ pip3 install -r requirements.txt
You can make use of the makefile, for example by running the following command to start a python server:
$ make devserver
`$ make devserver`
Visit the website at localhost:8000
To see what is in the makefile, try:
`$ make help`
## Update submodules
We are currently using two submodules:
@ -48,11 +55,11 @@ We are currently using two submodules:
To update these submodules within your (already) cloned repository, first init the submodule, and then update it:
cd /path/to/submodule
`cd /path/to/submodule`
git submodule init
`git submodule init`
git submodule update
`git submodule update`
## Posting Content