Skip to content

phoenix-chronobiology/phoenix-chronobiology.github.io

Repository files navigation

The Phoenix Chronobiology Projects

Overview

The Phoenix Chronobiology Projects:

The goals of the Projects are to develop:

  1. An ambulatory blood pressure monitor that is inexpensive, unobtrusive, easy to use, and collects a week of blood pressure measurements.
  2. A platform for biorythm analysis.

The Halberg Chronobiology Center wants the monitor and analytic framework for long term use on massive scale for:

  1. Assessing cardiovascular health, detecting pre-disease early, and optimizing treatment schedules, in order to reduce the number of people who die of preventable heart attacks and strokes.
  2. Understanding, for health surveillance and maintenance, how blood pressure and heart rate vary in response to stimuli in everyday life.

This repository

This repository hosts the Projects' home page, which is published on GitHub Pages.

Static site generator

MkDocs is a static site generator that is geared toward building project documentation. Source files are written primarily in Markdown, and configured with a single YAML configuration file

This site uses Markdown, HTML and cascading style sheets.

For full documentation, visit mkdocs.org.

Commands

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.

Project layout

mkdocs.yml              # The configuration file
docs/
    index.md            # The documentation homepage
    about/
        index.md
        ...
    abpm/               # ambulatory blood pressure monitor project
        index.md
        ...
    biorhythm-platform/ # biorhythm analysis platform project
        index.md
        architecture/
            index.md
            ...
        requirements/
            index.md
            ...
    images/
    javascripts/
    library/
        index.md
        ...
    privacy-security/
        index.md
        ...
    snippets/
    stylesheets/
    glossary.md
    ...                 # Other markdown pages and other files

Theme

Material for MkDocs

Building the site

Production build

The site is built and deployed via GitHub Actions.

The actions are triggered by a git push to the main branch.

The repository currently places minimal constraints on change. Anyone with write access may directly push content from a local repository to the GitHub repository. Expect more robust change management as the number of contributors grows.

Local build

  1. Set up git

    See https://git-scm.com/downloads

  2. Checkout repository

    git clone https://github.com/phoenix-chronobiology/phoenix-biorhythm-platform.git
    
  3. Set up Node.js runtime

    Production environment includes Node version 20.x

    See https://nodejs.org/en

  4. Set up Node.js dependencies

    npm clean-install
    
  5. Set up Python runtime

    Production environment includes Python version 3.x

    See https://www.python.org/

  6. Install Python dependencies

    pip install mkdocs
    pip install mkdocs-material
    pip install mkdocs-macros-plugin
    pip install mkdocs-git-revision-date-localized-plugin
    pip install mkdocs-link-marker
    
  7. Build documentation

    mkdocs build --clean
    mkdocs --version
    
  8. Start MkDocs server

    See mkdocs serve -h for port options

    Default is port 8000

    mkdocs serve
    
  9. Open local site

    Use port specified with mkdocs serve command

    Open http://127.0.0.1:8000/