sophie-lewis-hugo/README.md

38 lines
1.2 KiB
Markdown
Raw Normal View History

# lasophielle.org
## Local set-up
2022-03-23 13:32:29 +00:00
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:
2022-03-23 13:32:29 +00:00
```
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. 🐙
2021-08-25 16:29:31 +00:00
## 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`.
2021-08-25 16:29:31 +00:00
Click this badge to see recent builds:
2022-03-23 13:32:29 +00:00
[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/sophie-lewis-hugo/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/sophie-lewis-hugo)