docs: updated README
This commit is contained in:
parent
6e04bb0529
commit
82a2180268
1 changed files with 12 additions and 10 deletions
22
README.md
22
README.md
|
@ -26,18 +26,20 @@
|
||||||
|
|
||||||
## How do I run it locally?
|
## How do I run it locally?
|
||||||
|
|
||||||
1. Download and install Hugo
|
1. Hugo must be installed
|
||||||
2. git clone https://github.com/SindreKjelsrud/sindrekjelsrud.github.io.git
|
2. Clone the project and add submodules
|
||||||
3. cd sindrekjelsrud.github.io
|
|
||||||
4. hugo server
|
|
||||||
5. Feel free to create issues if you see room for improvement!
|
|
||||||
|
|
||||||
### Update website
|
```bash
|
||||||
|
git clone https://github.com/SindreKjelsrud/sindrekjelsrud.github.io.git
|
||||||
|
cd sindrekjelsrud.github.io
|
||||||
|
git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
|
||||||
- Clone project
|
3. To run the project use: `hugo serve` (livereload \<3)
|
||||||
- Add submodules again
|
|
||||||
- git submodule init
|
> 3.5. To add a new blogpost use: `hugo new blog-posts/{NameOfPost}.md`
|
||||||
- git submodule update
|
|
||||||
|
4. Feel free to create issues if you see room for improvement!
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue