Skip to content

Commit

Permalink
Jekyll build from commit 2a2882b by GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
vivarium-collective committed Nov 16, 2024
0 parents commit 4bd2600
Show file tree
Hide file tree
Showing 22 changed files with 1,554 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Vivarium Collective Website
[https://vivarium-collective.github.io](https://vivarium-collective.github.io)

## Setup

### Install Dependencies

1. Install Ruby and Jekyll following [Jekyll's
documentation](https://jekyllrb.com/docs/installation/).
2. Install dependencies:

```console
$ bundle
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using bundler 2.2.17
```

## Usage

### Compile Static HTML

```console
bundle exec jekyll build
```

The static HTML will be placed in `_site`.

### Serve Development Website

```console
bundle exec jekyll serve
```

The website will be served at http://localhost:4000. Note that this
command implicitly runs `jekyll build`.

### Deploy to Production

Note that you shouldn't have to do this in normal usage. GitHub Actions
has been configured to deploy the latest code in `main` every night at
midnight and upon every push to `main`.

To deploy the compiled HTML to GitHub Pages, execute:

```console
./deploy.sh
```

This will build the website and push the contents of `_site` to the
`gh-pages` branch of the repository.
Binary file added assets/card-imgs/COBRApy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/bioscrape-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/bioscrape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/biosimulators.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/convenience_kinetics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/cytosim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/medyan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/readdy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/smoldyn_banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/template-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/vivarium-avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/vivarium-chemotaxis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/vivarium-core.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/card-imgs/vivarium-multibody.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/css/style.css

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
set -e

BUILD_DIR=_site
USERNAME="vivarium-collective"
DEPLOY_BRANCH=gh-pages

if [[ $(git remote -v) == *"@"* ]]; then
GITHUBREMOTE="[email protected]:$USERNAME/$USERNAME.github.io.git"
else
GITHUBREMOTE="https://github.com/$USERNAME/$USERNAME.github.io.git"
fi

# Build Website
JEKYLL_ENV=production bundle exec jekyll build

# To avoid leaking git history, re-generate each time
if [ -d "$BUILD_DIR/.git/" ]; then
rm -rf "$BUILD_DIR/.git"
fi

git -C "$BUILD_DIR" init
git -C "$BUILD_DIR" add -A
git -C "$BUILD_DIR" commit -m 'deploy'
src_branch=$(git -C $BUILD_DIR rev-parse --abbrev-ref HEAD)
git -C "$BUILD_DIR" push -f "$GITHUBREMOTE" $src_branch:$DEPLOY_BRANCH
Loading

0 comments on commit 4bd2600

Please sign in to comment.