Skip to content

hivdb/chiro-cms

Repository files navigation

Chiro CMS

Content Management System of Chiro Website

Folder Structure

  • pages/: where we stores YAML files. A file starts with "page-" is automatically corresponded to a page on HIVDB website starts with "/page/". For example, "page-example.yml" is corresponded to page "/page/example/".
  • resources/: for any YAML files in pages/, the user can specify a magic keyword _resources to refer to a file in this folder. The CMS system currently support both Markdown (.md) and HTML (.html) files. However please always choose Markdown as your first option since it's simpler and formatted more well than HTML file.
  • images/: image files. You can use $$CMS_PREFIX$$images/example.png to refer to a image from this folder.
  • downloads/: other files needed to be made downloadable. You can use $$CMS_PREFIX$$downloads/example.txt to refer to a file from this folder.

Usage

Prerequisites

If you have sudo access to the internal server zhangfei, it is already configured under username "philip":

ssh zhangfei
sudo su - philip
cd ~/gitrepo/chiro-cms

Deployment

Several deployment commands are available for different targets:

# build and deploy to development environment:
make deploy-dev

# build and deploy to covdb.stanford.edu:
make deploy-prod

# build and deploy to all targets:
make deploy-all

Docker image

Chiro CMS uses the same Docker image used by HIVDB CMS.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •