Skip to content

Commit

Permalink
add backend run commands
Browse files Browse the repository at this point in the history
  • Loading branch information
phantie committed Apr 29, 2024
1 parent 95cc947 commit 0546b29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 8 additions & 0 deletions docs/install/backend-run.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# local
cargo run

# prod test
APP_ENVIRONMENT=production APP__DB__PATH="/root/db" cargo run --release

# prod (detach process and redirect logs)
APP_ENVIRONMENT=production APP__DB__PATH="/root/db" cargo run --release > /root/log.txt 2>&1 &
5 changes: 0 additions & 5 deletions docs/install/start.txt

This file was deleted.

0 comments on commit 0546b29

Please sign in to comment.