add blog post

This commit is contained in:
2025-07-16 11:04:02 +09:00
parent 3e65bc8210
commit 33402f4a21
4 changed files with 380 additions and 337 deletions

View File

@@ -2,7 +2,7 @@
function _env() {
d=${0:a:h}
ailog=$d/target/debug/ailog
ailog=$d/target/release/ailog
oauth=$d/oauth
myblog=$d/my-blog
port=4173
@@ -22,7 +22,7 @@ function _deploy_ailog() {
function _server() {
lsof -ti:$port | xargs kill -9 2>/dev/null || true
cd $d/my-blog
cargo build
cargo build --release
cp -rf $ailog $CARGO_HOME/bin/
$ailog build
$ailog serve --port $port
@@ -45,7 +45,7 @@ function _oauth_build() {
function _server_comment() {
cargo build
cargo build --release
cp -rf $ailog $CARGO_HOME/bin/
AILOG_DEBUG_ALL=1 $ailog stream start my-blog
}