up¶
The fujin up command bootstraps the server and deploys your application in one step.
Overview¶
fujin up is the “first deploy” command. It combines server provisioning and application deployment into a single operation.
Use this command when:
Setting up a brand new server
First deployment to a server
You want to ensure all dependencies are installed
What it does:
Provisions the server (
fujin server bootstrap): - Installs uv - Installs Caddy (if webserver enabled) - Sets up system dependenciesDeploys your application (
fujin deploy): - Builds and uploads your app - Installs dependencies - Configures services - Starts everything
Usage¶
fujin up [OPTIONS]
Options¶
-H, --host HOSTTarget a specific host in multi-host setups. Defaults to the first host.
Examples¶
First deployment
fujin up
Deploy to specific host
fujin up -H production
When to Use¶
Use fujin up for
First deployment to a new server
Completely fresh setup after server rebuild
Testing - When you want to ensure clean state
Use fujin deploy for
Subsequent deployments (faster, skips bootstrapping)
Code updates
Configuration changes
Troubleshooting¶
“uv already installed, skipping”
This is normal. The bootstrap step detects existing installations and skips them.
Bootstrap fails
If server bootstrap fails:
Check SSH connection:
ssh user@serverVerify sudo access:
ssh user@server sudo lsCheck internet connectivity on server
Review error messages for specific issues
Deploy succeeds but app doesn’t work
Check the application logs:
fujin app logs