Skip to content

nixpulvis/galos

Repository files navigation

Galos


CI

Somewhere between reality and the space/flight sim E:D.

Use galos-sync to populate the databas and galos to perform basic queries from the CLI.

The galos-map program is a 3D galaxy map, see it's documentation for more.

Database Setup

cargo install sqlx-cli

# Create the database and run the migrations.
cargo sqlx database setup --source galos_db/migrations/

# Run any pending migrations.
cargo sqlx migrate run --source galos_db/migrations/

# Drop, create, and migrate the whole thing.
cargo sqlx database reset --source galos_db/migrations/

Database Backup and Restore

# Create a backup.
pg_dump -Fc elite_development > latest.dump

# Restore from backup.
pg_restore -Cd postgres < latest.dump

About

Elite: Dangerous Database and Tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published