Skip to content

Commit 1bb6b4e

Browse files
committed
Updated readme
1 parent 88365d5 commit 1bb6b4e

File tree

1 file changed

+54
-8
lines changed

1 file changed

+54
-8
lines changed

README.md

100644100755
Lines changed: 54 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,56 @@
1-
# The title
2-
This is the paragraph text. Lorem ipsum...
1+
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.
32

4-
```python
5-
def my_function():
6-
print("hello world")
7-
8-
my_function()
3+
4+
## Run in production
5+
The theme fully compliant with [GitHub pages](https://pages.github.com/) and can be deployed using GitHub actions.
6+
7+
## Run locally
8+
9+
### Preparation
10+
Install the required packages as described in the [Jekyll docs](https://jekyllrb.com/docs/). For convenience, these are the steps in Ubuntu:
11+
12+
Install Ruby
13+
```
14+
sudo apt-get install ruby-full build-essential zlib1g-dev
15+
```
16+
17+
Aset up a gem installation directory for your user account
918
```
10-
Description of the code block
19+
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
20+
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
21+
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
22+
source ~/.bashrc
23+
```
24+
25+
Install Jekyll and Bundler
26+
```
27+
gem install jekyll bundler
28+
29+
```
30+
31+
### Install dependencies
32+
Install the site's dependencies from the Gemfile
33+
34+
Change directory to the folder where this repo and the `Gemfile` is located.
35+
```
36+
cd /path/to/this/workdir
37+
```
38+
39+
Install Gems from Gemfile with
40+
```
41+
bundle install
42+
```
43+
44+
45+
### Run site
46+
Start the site with
47+
```
48+
bundle exec jekyll serve
49+
```
50+
51+
Access the site at http://localhost:4000
52+
53+
54+
55+
## More details
56+
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 commit comments

Comments
 (0)