add blog post
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user