Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

wallleap/ethereal-old

Repository files navigation

Ethereal - An awesome blog theme

新的在:https://github.com/wallleap/ethereal

Ethereal 是一个基于 Vue 开发的 SPA 单页面博客应用程序,使用 Github Issues 进行写作,借助 Github Api 获取内容,通过 Github Pages 部署在线访问。博客评论系统采用开源项目 Gitalk。主题基于 Github 全家桶,脱离服务器与数据库,关注内容本身,操作简单,免费食用。

技术栈:Vue + Github Pages + Github Issues + Github Api + Gitalk。

在线演示:wallleap

Getting Started

Installing

Node version is v12.22.12 (npm v6.14.16)

npm install -g @vue/cli-service-global

git clone git@github.com:wallleap/Ethereal.git /blog

cd blog
npm install

Configuration

修改配置文件 src/config.js,每个配置项都有详细说明。

Preview

确定配置无误,可以先行本地预览。

npm start

浏览器打开 http://localhost:8000 便可访问新的博客!

注意在本地预览时 gitalk 不能正常使用,这属于正常情况,发布线上访问便能正常显示评论。

Deployment

本地预览检查能正常访问后,即可以打包发布上线。

支持一键部署,只需要编辑 deploy.sh,配置自己的仓库和域名,之后命令行执行 ./deploy.sh,即可自动打包并上传到指定仓库,将该仓库开启 Github Pages 功能即可在线访问。

./deploy.sh

Just enjoy it ฅ●ω●ฅ

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published