diff --git a/.gitignore b/.gitignore index c5c230f88..3ae73d6d8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ **/*.rs.bk /*.mdb /query-history.txt +/data.ms diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index 40f183121..828d68130 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -3,11 +3,11 @@ use structopt::StructOpt; #[derive(Debug, Clone, StructOpt)] pub struct Opt { /// The destination where the database must be created. - #[structopt(long, env = "MEILI_DB_PATH", default_value = "/tmp/meilisearch")] + #[structopt(long, env = "MEILI_DB_PATH", default_value = "./data.ms")] pub db_path: String, /// The address on which the http server will listen. - #[structopt(long, env = "MEILI_HTTP_ADDR", default_value = "127.0.0.1:8080")] + #[structopt(long, env = "MEILI_HTTP_ADDR", default_value = "127.0.0.1:7700")] pub http_addr: String, /// The master key allowing you to do everything on the server.