Hexo is a tool that allows the writer to create a web site using markdown. The web site is made of flat files, without a database. This type of web site is extremely simple, efficient, fast and hackproof. Check out my Gitlab test page.
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add –
To: wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add –
and it added the key. Then did the rest of the install.
~$ wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add –
–2017-02-27 10:03:04– https://deb.nodesource.com/gpgkey/nodesource.gpg.key
Resolving deb.nodesource.com (deb.nodesource.com)… ERROR: This command can only be used by root.
220.127.116.11, 18.104.22.168, 22.214.171.124, …
Connecting to deb.nodesource.com (deb.nodesource.com)|126.96.36.199|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3128 (3.1K) [text/plain]
Saving to: ‘nodesource.gpg.key’
nodesource.gpg.key 100%[===================>] 3.05K –.-KB/s in 0s
2017-02-27 10:03:05 (363 MB/s) – ‘nodesource.gpg.key’ saved [3128/3128]
W: GPG error: https://deb.nodesource.com/node_6.x xenial InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
W: The repository ‘https://deb.nodesource.com/node_6.x xenial InRelease’ is not signed.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
themes: Hexo themes
https://gitlab.com/pages/hexo, then fork
hexo docs: https://hexo.io/docs/setup.htmlo
Combining Hexo with Gitlab: For each git directory you need to do “npm init”, which initializes hexo for the directory
To see your edits on local, open a terminal, go to your hexo directory, then do “hexo server”. You will then go your your browser, URL “local:4000” to see your site. If you change any of the Hexo settings, like changing the theme .yml, you’ll need to stop and restart the server.
I am playing with markdown in Hexo.