Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoonen committed Aug 13, 2024
1 parent 88365d5 commit 1bb6b4e
Showing 1 changed file with 54 additions and 8 deletions.
62 changes: 54 additions & 8 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,56 @@
# The title
This is the paragraph text. Lorem ipsum...
This Jekyll blog theme is based on [The-MVM](https://github.com/the-mvm/the-mvm.github.io) (which on its turn is based on [Adam-blog](https://github.com/artemsheludko/adam-blog) and further adapted for the UB Maastricht use case.

```python
def my_function():
print("hello world")

my_function()

## Run in production
The theme fully compliant with [GitHub pages](https://pages.github.com/) and can be deployed using GitHub actions.

## Run locally

### Preparation
Install the required packages as described in the [Jekyll docs](https://jekyllrb.com/docs/). For convenience, these are the steps in Ubuntu:

Install Ruby
```
sudo apt-get install ruby-full build-essential zlib1g-dev
```

Aset up a gem installation directory for your user account
```
Description of the code block
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
```

Install Jekyll and Bundler
```
gem install jekyll bundler
```

### Install dependencies
Install the site's dependencies from the Gemfile

Change directory to the folder where this repo and the `Gemfile` is located.
```
cd /path/to/this/workdir
```

Install Gems from Gemfile with
```
bundle install
```


### Run site
Start the site with
```
bundle exec jekyll serve
```

Access the site at http://localhost:4000



## More details
More details about Jekyll, the folder structure and workings can be found in the [MVM readme](https://github.com/the-mvm/the-mvm.github.io/blob/main/README.md).

0 comments on commit 1bb6b4e

Please sign in to comment.