Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ bundle install
# Install the Netlify CLI globally using npm
npm install -g netlify-cli

# Netlify 23.15.1 on ARM fails to install a working version of deno,
# so install the latest one directly.
# Note: this should not be necessary once netlify is fixed
npm install -g deno

# Return to the previous directory
cd ..
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ If you prefer to work locally, you can use VS Code with the DevContainers extens

VS Code will build the container and configure the development environment automatically. **The initial setup may take a few minutes as the container is built.**

Once done, you can open a Terminal and launch the development server in the DevContainer with the following command:

```shell
cd docs
netlify dev -c 'bundle exec jekyll serve --livereload --incremental'
```

### Deploying the site locally

SLSA.dev is hosted on [Netlify](https://www.netlify.com/), and you can run a local development server using the Netlify CLI.
Expand Down