Skip to content

Commit

Permalink
README.md: docker instructions to be less dependent on host
Browse files Browse the repository at this point in the history
  • Loading branch information
lordfolken committed Sep 20, 2024
1 parent df79b21 commit bd09400
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# XCSoar.org - Website

1. Install dependencies
1. Run Ruby Docker image
```
sudo apt-get install bundler yui-compressor librsvg2-bin build-essential ruby-dev
docker run -v ./:/data -it ruby:3.3.5 /bin/bash
cd /data
```

2. Install ruby dependencies
Expand All @@ -19,7 +20,9 @@

1. Generate a stub for the new post
```
bundle exec rake new_post["XCSoar 6.8.12 released"]
git config --global --add safe.directory /data
apt update && apt install -y vim
bundle exec rake new_post["XCSoar 7.55 released"]
```

2. Edit the new post, created in `./_posts`
Expand Down

0 comments on commit bd09400

Please sign in to comment.