Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nixpulvis/galos
Elite: Dangerous Database and Tools
https://github.com/nixpulvis/galos
Last synced: 9 days ago
JSON representation
Elite: Dangerous Database and Tools
- Host: GitHub
- URL: https://github.com/nixpulvis/galos
- Owner: nixpulvis
- Created: 2021-07-29T15:06:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-05T05:00:04.000Z (about 1 month ago)
- Last Synced: 2024-10-18T23:38:19.664Z (18 days ago)
- Language: Rust
- Size: 4.11 MB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Galos
-----
[![CI](https://github.com/nixpulvis/galos/actions/workflows/ci.yml/badge.svg)](https://github.com/nixpulvis/galos/actions/workflows/ci.yml)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`](./galos_map) program is a 3D galaxy map, see it's
documentation for more.### Database Setup
```sh
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
```sh
# Create a backup.
pg_dump -Fc elite_development > latest.dump# Restore from backup.
pg_restore -Cd postgres < latest.dump
```