SPACEPORT DOCS

Spaceport CLI

The Spaceport CLI provides commands to start your server and run maintenance tasks like migrations.

Start the server

Start Spaceport using a manifest that defines host and database configuration.

# If you run Spaceport via the jar
java -jar spaceport.jar --start /path/to/config.spaceport

# Or, if you have a wrapper command on your PATH
spaceport --start /path/to/config.spaceport

See manifest-configuration.md for manifest options.

Run migrations

Run migrations without fully booting the server. Spaceport will load your manifest, connect to the database, and show a menu of available migrations.

# Using the jar
java -jar spaceport.jar --migrate /path/to/config.spaceport

# Or via wrapper
spaceport --migrate /path/to/config.spaceport

Learn how to write and run migrations in migrations.md.

Other flags