From e97928de366887476abc0c8b03c34986796ca74d Mon Sep 17 00:00:00 2001 From: eraden Date: Tue, 20 Jun 2023 07:03:15 +0200 Subject: [PATCH] Rename to myco --- .env | 18 +++---- README.md | 6 ++- crates/api/Cargo.toml | 2 +- crates/api/assets/index.html | 2 +- crates/api/src/opts.rs | 2 +- crates/config/src/lib.rs | 36 ++++++------- crates/search_manager/src/actions.rs | 2 +- crates/testx/src/lib.rs | 8 +-- .../migrations/202204131841_init.sql | 2 +- crates/web/index.html | 2 +- docs/dependencies.puml | 12 ++--- docs/infrastructure.puml | 54 +++++++++---------- .../src/stores/m20230603_120810_store_ext.rs | 2 +- scripts/test.sh | 4 +- tests/bazzar.toml | 16 +++--- 15 files changed, 86 insertions(+), 82 deletions(-) diff --git a/.env b/.env index f256875..f101fbe 100644 --- a/.env +++ b/.env @@ -1,17 +1,17 @@ -DATABASE_NAME=bazzar -DATABASE_URL=postgres://postgres@localhost/bazzar -ACCOUNT_DATABASE_URL=postgres://postgres@localhost/bazzar_accounts -CART_DATABASE_URL=postgres://postgres@localhost/bazzar_carts -STOCK_DATABASE_URL=postgres://postgres@localhost/bazzar_stocks -ORDER_DATABASE_URL=postgres://postgres@localhost/bazzar_orders -TOKEN_DATABASE_URL=postgres://postgres@localhost/bazzar_tokens +DATABASE_NAME=myco +DATABASE_URL=postgres://postgres@localhost/myco +ACCOUNT_DATABASE_URL=postgres://postgres@localhost/myco_accounts +CART_DATABASE_URL=postgres://postgres@localhost/myco_carts +STOCK_DATABASE_URL=postgres://postgres@localhost/myco_stocks +ORDER_DATABASE_URL=postgres://postgres@localhost/myco_orders +TOKEN_DATABASE_URL=postgres://postgres@localhost/myco_tokens PASS_SALT=18CHwV7eGFAea16z+qMKZg RUST_LOG=debug SESSION_SECRET="NEPJs#8jjn8SK8GC7QEC^*P844UgsyEbQB8mRWXkT%3mPrwewZoc25MMby9H#R*w2KzaQgMkk#Pif$kxrLy*N5L!Ch%jxbWoa%gb" JWT_SECRET="42^iFq&ZnQbUf!hwGWXd&CpyY6QQyJmkPU%esFCvne5&Ejcb3nJ4&GyHZp!MArZLf^9*5c6!!VgM$iZ8T%d#&bWTi&xbZk2S@4RN" SIGNATURE=David -SERVICE_NAME="BaZZaR develop" +SERVICE_NAME="myco develop" PGDATESTYLE= @@ -27,7 +27,7 @@ PAYU_CLIENT_MERCHANT_ID=300746 TPAY_TRANSACTION_API_KEY=75f86137a6635df826e3efe2e66f7c9a946fdde1 TPAY_CARDS_API_KEY=bda5eda723bf1ae71a82e90a249803d3f852248d -#WEB_HOST=https://bazzar.ita-prog.pl +#WEB_HOST=https://myco.ita-prog.pl WEB_HOST=0.0.0.0 FILES_PUBLIC_PATH=/files diff --git a/README.md b/README.md index e104487..ef145d8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# Bazzar +# MycoCraft + +Short `Myco` is Rust e-commerce design for possibility to have monolith or microservices, fast, safe, cheap and extensible with plugins e-commerce. + +Origin of the name is Myco-heterotrophy which is symbiotic relationship between fungus and plans which benefits both. ### Order life cycle diff --git a/crates/api/Cargo.toml b/crates/api/Cargo.toml index 9e83ddf..ca3ff76 100644 --- a/crates/api/Cargo.toml +++ b/crates/api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bazzar" +name = "myco" version = "0.1.0" edition = "2021" diff --git a/crates/api/assets/index.html b/crates/api/assets/index.html index 77c2dc8..c05e93c 100644 --- a/crates/api/assets/index.html +++ b/crates/api/assets/index.html @@ -2,7 +2,7 @@ - Bazzar + Myco