open-prophetdb / prophetdb.org

A website for OpenProphetDB community.

Home Page:https://www.prophetdb.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A website for OpenProphetDB

OpenProphetDB is a research group which is interested in the following topics: construct and integrate **knowledge graph**, **multi-omics data** and **deep learning models** to understand the molecular mechanisms of human diseases or predict known drugs for new indications (Drug Repurposing).

License Latest Release Quality Control

For Developers

Install Dependencies

# Clone the repository
git clone https://github.com/prophetdb-openlab/prophetdb.org.git

cd prophetdb.org

# Create virtual environment
virtualenv .env

# Activate virtual environment
source .env/bin/activate

# Install dependencies
pip install -r requirements.txt

Launch Docs Website

If you want to launch the docs website locally, you can use the following command:

mkdocs serve

The output should be like this:

(quartet-docs) ➜ /quartet-docs git:(master) ✗ > mkdocs serve
INFO     -  Building documentation...
WARNING  -  Config value: 'announce'. Warning: Unrecognised configuration name: announce
WARNING  -  Config value: 'announce_text'. Warning: Unrecognised configuration name: announce_text
INFO     -  Cleaning site directory
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - about/collaborators.md
              - about/members.md
              - data_dictionary/about.md
              - data_dictionary/metadata.md
              - ...
INFO     -  Documentation built in 3.18 seconds
INFO     -  [09:30:55] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO     -  [09:30:55] Serving on http://127.0.0.1:8000/

After that, you can visit the website at http://127.0.0.1:8000/. Then you can edit the markdown files and see the changes in real time.

Modify Docs

Modify the markdown files in the docs folder. If you want to modify the table of contents, please modify the mkdocs.yml file.

You can follow the MkDocs documentation to learn more.

Publish Docs Website

If you want to submit your changes, please push your changes to your own branch and create a pull request.

git checkout -b <Your Branch Name>
git add -u
git commit -m "<Your Message>"
git push origin <Your Branch Name>

After merging the pull request, the docs website will be automatically published to https://prophetdb.org.