This repository hosts the News subdomain for Molecular Oncology Almanac, built with Jekyll and the Minima theme.
To run the site locally, follow Jekyll's Quickstart guide and then run:
bundle install
bundle exec jekyll clean
bundle exec jekyll serve --livereloadThe website will be available at http://127.0.0.1:4000.
If the ports fail to close when shutting down the application, use utils/listen.sh to obtain the PID value of the service and then use utils/kill.sh to shut down the ports. For example:
(base) vanallenlab@computer:news$ bash utils/listen.sh 4000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ruby 19849 vanallenlab 12u IPv4 0xea464cd74b3ffbe0 0t0 TCP 127.0.0.1:4000 (LISTEN)
(base) vanallenlab@computer:news$ bash utils/kill.sh 19849This site is built and deployed using GitHub Actions. On every push to the main branch, the workflow builds the site and publishes it to GitHub Pages.
- _config.yml - Site configuration
- _includes/ - Site templates
- _layouts/ - Page layouts
- _pages/ - Pages to aggregate Posts by category
- _posts/ - Posts
- assets/ - CSS, images, and other static assets
- utils/ - Helper scripts for port management during local development
Posts in _posts/ use Front Matter for metadata and are tagged with one or more categories:
- Algorithm - Any post related to the interpretation algorithm implemented in Python (GitHub: vanallenlab/moalmanac).
- Announcement - News announcements related to the Molecular Oncology Almanac.
- API - Any post related to the API service (GitHub: vanallenlab/moalmanac-api).
- Database - Any post related to the underlying database (GitHub: vanallenlab/moalmanac-db).
- Release - Repository releases
Each category should have a page under _pages/ and be included in _includes/overview.html to show up on the website.
This repository is distributed under the GNU GENERAL PUBLIC LICENSE Version 2.