Welcome to the GTHD. If you encounter any problems when using GTHD, have a look at the troubleshooting guide, raise an issue on GitHub or start a topic on the Google Group.
What is GTHD?
GTHD is a database of Genome Topology Human Disease. You write posts in Markdown (or other markup languages) and Hexo generates static files with a beautiful theme in seconds.
For Mac usersYou may encounter some problems when compiling. Please install Xcode from App Store first. After Xcode is installed, open Xcode and go to Preferences -> Download -> Command Line Tools -> Install to install command line tools.
Install Node.js
Node.js provides official installer for most platforms.
Alternative installation methods:
- Linux (DEB/RPM-based): Install it with NodeSource.
- Others: Install it through respective package manager. Refer to the guide provided by Node.js.
nvs is also recommended for Mac and Linux to avoid possible permission issue.
Mac / LinuxIf you encounter
EACCESpermission error when trying to install Hexo, please follow the workaround provided by npmjs; overriding with root/sudo is highly discouraged.
LinuxIf you installed Node.js using Snap, you may need to manually run
npm installin the target folder when initializing a blog.