mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-09 10:40:34 -05:00
31 lines
942 B
Markdown
31 lines
942 B
Markdown
# BrandonRozek.com
|
|
Github Repo of Personal Website
|
|
|
|
## Instructions
|
|
|
|
In order to build the site you need to have `hugo` and `git` installed.
|
|
|
|
Clone the repository
|
|
```bash
|
|
git clone --recurse-submodules https://github.com/Brandon-Rozek/website
|
|
```
|
|
If you don't include `--recurse-submodules` then the theme won't load rendering the site unusable.
|
|
|
|
This repository uses Git-LFS to store some of the static assets. The git clone process should handle this portion for you, but in case it does not here are the commands to pull the static files manually.
|
|
```bash
|
|
git lfs fetch
|
|
git lfs checkout
|
|
```
|
|
|
|
Then you need to build the site
|
|
```bash
|
|
cd website
|
|
hugo
|
|
```
|
|
All of the HTML files generated will appear in the folder `Public`. You can then copy this folder over to a webserver.
|
|
|
|
If you want to run the website locally, then run
|
|
```bash
|
|
hugo serve
|
|
```
|
|
This will start a webserver that hosts the site using a port (usually 1313) on your localhost.
|