2022-05-22 19:40:41 +08:00
|
|
|
#!/bin/bash
|
2022-06-30 08:04:32 +08:00
|
|
|
# 本地快速启动脚本
|
|
|
|
# Quick start in local.
|
2022-05-22 19:40:41 +08:00
|
|
|
|
|
|
|
next() {
|
|
|
|
cat << EOT
|
|
|
|
========================================
|
|
|
|
███╗ ██╗███████╗██╗ ██╗████████╗
|
|
|
|
████╗ ██║██╔════╝╚██╗██╔╝╚══██╔══╝
|
|
|
|
██╔██╗ ██║█████╗ ╚███╔╝ ██║
|
|
|
|
██║╚██╗██║██╔══╝ ██╔██╗ ██║
|
|
|
|
██║ ╚████║███████╗██╔╝ ██╗ ██║
|
|
|
|
╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝ ╚═╝
|
|
|
|
========================================
|
2022-07-02 22:22:46 +08:00
|
|
|
Hugo NexT version $1
|
2022-06-30 08:04:32 +08:00
|
|
|
Documentation: https://hugo-next.eu.org
|
2022-05-22 19:40:41 +08:00
|
|
|
========================================
|
|
|
|
EOT
|
|
|
|
}
|
|
|
|
|
2022-06-19 14:53:12 +08:00
|
|
|
next `cat ../VERSION`
|
2022-05-22 19:40:41 +08:00
|
|
|
|
2022-07-13 21:25:15 +08:00
|
|
|
hugo server -D -t ../.. --port 1414 --panicOnWarning --config config.dev.yaml
|