Skip to content

Commit

Permalink
update task
Browse files Browse the repository at this point in the history
Signed-off-by: Justen Stall <[email protected]>
  • Loading branch information
justenstall committed Jan 3, 2024
1 parent 6021e08 commit 304eebf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,22 @@ My portfolio and blog website.

## Testing

To test the site locally, install the dependencies using [Poetry] and run the .
The site can be tested locally using `mkdocs serve` once Python dependencies are installed.

```sh
# Install Python dependencies
poetry install --no-root

# Serve the site locally
poetry run mkdocs serve
```

The "serve" task can automatically perform these steps.

```sh
# Run the "serve" task
task serve
```

## Deploying

Expand Down
5 changes: 3 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ version: "3"
tasks:
poetry:
silent: true
# internal: true
internal: true
cmds:
- command -v poetry
- command -v poetry > /dev/null

install-deps:
silent: true
deps:
- poetry
cmds:
Expand Down

0 comments on commit 304eebf

Please sign in to comment.