Crates.io | starfish-ql |
lib.rs | starfish-ql |
version | 0.1.2 |
source | src |
created_at | 2022-04-03 14:45:19.677269 |
updated_at | 2022-04-04 05:15:29.191271 |
description | StarfishQL - A graph database and query engine |
homepage | |
repository | https://github.com/SeaQL/starfish-ql |
max_upload_size | |
id | 561323 |
size | 147,549 |
DATABASE_URL="mysql://root:root@localhost:3306" cargo t --all
cargo r
You might need to setup your database with Docker:
docker run \
--name "mysql-8.0" \
--env MYSQL_DB="mysql" \
--env MYSQL_USER="sea" \
--env MYSQL_PASSWORD="sea" \
--env MYSQL_ALLOW_EMPTY_PASSWORD="yes" \
--env MYSQL_ROOT_PASSWORD="root" \
-d -p 3306:3306 mysql:8.0
docker stop "mysql-8.0"
docker run \
--name "mariadb-10.6" \
--env MYSQL_DB="mysql" \
--env MYSQL_USER="sea" \
--env MYSQL_PASSWORD="sea" \
--env MYSQL_ALLOW_EMPTY_PASSWORD="yes" \
--env MYSQL_ROOT_PASSWORD="root" \
-d -p 3306:3306 mariadb:10.6
docker stop "mariadb-10.6"
docker run \
--name "postgres-13" \
--env POSTGRES_USER="root" \
--env POSTGRES_PASSWORD="root" \
-d -p 5432:5432 postgres:13
docker stop "postgres-13"