-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from sbliven/cleanup
Miscelaneous cleanup
- Loading branch information
Showing
10 changed files
with
86 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# SciCat Project website | ||
|
||
This repository contains all the files that are needed to generate the SciCat homepage. | ||
It is that is hosted using github pages at https://scicatproject.github.io/. Source | ||
code can be cloned from [github](https://github.com/SciCatProject/scicatproject.github.io). | ||
|
||
In addition to the homepage, the technical documentation served under `/documentation` | ||
and hosted in the [SciCatProject/documentation](https://github.com/SciCatProject/documentation) | ||
repository. | ||
|
||
# Building | ||
|
||
The site is generated using [jekyll](https://jekyllrb.com/). It is typically built by | ||
github directly, but can also be run locally for testing. | ||
|
||
## Running locally with ruby | ||
|
||
If you have ruby installed you can run jekyll locally: | ||
|
||
```bash | ||
gem install bundler jekyll | ||
bundle exec jekyll serve | ||
``` | ||
|
||
## Running with docker | ||
|
||
You may prefer to build using a docker container to avoid installing all the dependencies. | ||
This can be done by simply running the following from the project directory: | ||
|
||
```bash | ||
docker-compose up | ||
``` | ||
|
||
This will serve the site at http://localhost:4000. Most changes live-update, with the | ||
exception of changes to `_config.yml`. | ||
|
||
|
||
# Resources | ||
- https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll | ||
- https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll | ||
- https://medium.com/codex/how-to-add-bootstrap-5-to-jekyll-in-two-easy-ways-4d9dd3c8c895 | ||
- https://github.com/jekyll/jekyll/issues/8523 | ||
- https://github.com/actions/jekyll-build-pages |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>{{ site.title }}</title> | ||
<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> | ||
<script src="/assets/js/bootstrap.min.js"></script> | ||
<link rel="stylesheet" href="/assets/css/styles.css"> | ||
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> | ||
<link href="assets/fontawesome-free-6.4.2-web/css/all.min.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
{% include nav.html %} | ||
<div class="container"> | ||
<div class="row"> | ||
<h1 class="mt-5 mb-5">{{ page.title }}</h1> | ||
{{ content }} | ||
</div> | ||
</div> | ||
{% include breaker.html %} | ||
{% include footer.html %} | ||
<script src="/assets/js/main.js"></script> | ||
</body> | ||
</html> |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: '3' | ||
services: | ||
serve: | ||
image: jekyll/jekyll:latest | ||
command: jekyll serve --watch --force_polling --verbose | ||
ports: | ||
- 4000:4000 | ||
volumes: | ||
- .:/srv/jekyll |
File renamed without changes.