Skip to content

Commit 9b90dd2

Browse files
authored
Merge pull request #326 from DE-RSE/conda
Add cross-platform conda env manifest and describe use
2 parents ebb7ae8 + 13d6520 commit 9b90dd2

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ gem 'wdm', '~> 0.1.1' if Gem.win_platform?
77

88
gem 'rake'
99

10-
gem 'jekyll'
11-
gem 'liquid', '>= 5.5.0'
12-
gem "kramdown", ">= 2.3.0"
10+
gem 'jekyll', ">= 4.4.1"
1311
gem 'jekyll-feed', group: :jekyll_plugins
1412
gem 'jekyll-redirect-from', group: :jekyll_plugins
1513
gem "kramdown-parser-gfm"

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ This repository contains the source files for the de-RSE website. Its official h
44

55
The site is made to be built with [Jekyll](https://jekyllrb.com/) >= 3.4.1.
66

7-
You can use [RVM](https://rvm.io/) to install and use a suitable Ruby version, e.g., `rvm use 2.7`.
7+
You can use, e.g.,
8+
9+
- [RVM](https://rvm.io/) to install and use a suitable Ruby version, e.g., `rvm use 2.7`.
10+
- [`conda`/`mamba`] to install dependencies into a reproducible environment via `mamba env create -f conda-env-de-rse-website.yml && mamba activate de-rse-website`.
811

912
To build, run `bundle install` once (or skip that if you have dependencies already installed and bundler does not work for you) and then `bundle exec jekyll build`.
1013
To preview locally, run `bundle exec jekyll serve --incremental` and browse to <http://localhost:4000>.

conda-env-de-rse-website.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: de-rse-website
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- c-compiler
6+
- compilers
7+
- cxx-compiler
8+
- ruby=4.0.*

0 commit comments

Comments
 (0)