You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+63
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,69 @@ Note: This page was built using the template provided by the folks from the [Kor
4
4
5
5
This is repository for [SINE lab page](http://sinegit.github.io/). We use Jekyll to run our Github page. We are welcome for other people to contribute to our site not just lab members. Feel free to fork and pull-request!
2. Install the dependencies specified in the Gemfile
16
+
```bash
17
+
bundle install
18
+
```
19
+
3. Build the website
20
+
```bash
21
+
bundle exec jekyll build
22
+
```
23
+
This will create the destination directory `_site/` and build the site into it.
24
+
4. Add file contents to the index
25
+
```bash
26
+
git add -A
27
+
```
28
+
5. Commit the changes
29
+
```bash
30
+
git commit -m "Your message"
31
+
```
32
+
6. Push the commit to the `sources` branch
33
+
```bash
34
+
git push origin sources
35
+
```
36
+
37
+
### Maintaining the `master` branch
38
+
39
+
The GitHub Pages site will be built from the `master` branch. Thus we need to push the `_site` folder to the `master` branch
40
+
41
+
1. Change the current working directory to the `_site` directory
42
+
```bash
43
+
cd .side/
44
+
```
45
+
2. Tell GitHub Pages that there is no need to build (GitHub can build Jekyll site directly from source if it contains only supported plugins. We utilize some unsupported plugins.)
To run locally, follow instruction [here](https://jekyllrb.com/) to install Jekyll then run `jekyll serve` to see in `localhost:4000`. Here is a brief install guidelines.
0 commit comments