This repository has been created for integrating ccf-ui with Chaise applications.
-
First you need to setup some environment variables. The following are the variables and their default values:
CCF_UI_ZIP_LINK=https://github.com/hubmapconsortium/ccf-ui/archive/refs/tags/3.8.1.zip CCF_UI_VERSION=3.8.1 HRA_INSTALL_DIR=/var/wwww/html/apps/hra
- If you're deploying remotely, since we're using the
HRA_INSTALL_DIR
inrsync
command, you can use a remote locationusername@host:public_html/
for this variable.
- If you're deploying remotely, since we're using the
-
The following command will download the
ccf-ui
based on the given link inCCF_UI_ZIP_LINK
variable, and will unzip its content into theccf-ui
folder that the code relies on.make dist
Notes:
- Make sure to run this command with the owner of the current folder. If you attempt to run this with a different user, it will complain.
CCF_UI_VERSION
is used to find out which version ofccf-ui
is currently installed. If you've already ranmake dist
before and havent' changed this variable, we will skip the download step. If you would like to force a download you should update this variable.
-
To deploy the package, run the following:
make deploy
Notes:
- If the given directory does not exist, it will first create it. So you may need to run
make deploy
with super user privileges depending on the installation directory you choose.
- If the given directory does not exist, it will first create it. So you may need to run
If you would like to update the included ccf-ui, you should
- Find the version that you'd like from their GitHub releases page.
- Grab the link of
Source code (zip)
. - Change the value of
CCF_UI_ZIP_LINK
inMakefile
to be the link that you grabbed. - Update
CCF_UI_VERSION
value inMakefile
. We're using this version to make sure we're not downloading this file multiple times. - Update the default values noted in the deploying section.
- Commit your changes and push.
The build recipes will then pull the latest code and install the version that you noted in the Makefile.
Please direct questions and comments to the project issue tracker.
This repsitory made available as open source under the Apache License, Version 2.0. Please see the LICENSE file for more information. It uses ccf-ui and you can find its license file here.
Chaise is developed in the Informatics Systems Research group at the USC Information Sciences Institute.