sophie-lewis-hugo/README.md
2022-12-23 15:56:52 -08:00

38 lines
1.2 KiB
Markdown

# lasophielle.org
## Local set-up
This project uses `hugo` and git submodules. Below is how to set up Hugo on a
Linux machine.
1. Download `hugo` - you will need the `extended` version of Hugo. As of this
writing there does not seem to be an extended version available via `apt`.
However, you can use `snap` to get this version:
`snap install hugo --channel=extended`
2. Run the following to make sure Bulma is installed:
```
git submodule init
git submodule update
```
3. Now you should be able to build the project. Run `hugo server` and go to the
localhost address printed in your terminal. 🐙
## How to change "about me" headshot
Add the headshot image you want to use to the `static/img` directory. Then
uncomment the `headshot=` option under `[param.about]`. Set this option to the
filename and only the filename.
## Deployment
Changes to the `main` branch are automatically deployed to
https://lasophielle.org using Drone, as configured in `.drone.yml`.
Click this badge to see recent builds:
[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/sophie-lewis-hugo/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/sophie-lewis-hugo)