From 8d0d13458d30c58e304e41ee3f29199950e72561 Mon Sep 17 00:00:00 2001 From: Delta1925 Date: Sun, 16 Apr 2023 16:27:05 +0200 Subject: [PATCH] Move rust code in backend folder --- .dockerignore | 6 +++--- .gitignore | 6 +----- Cargo.lock => backend/Cargo.lock | 0 Cargo.toml => backend/Cargo.toml | 0 backend/src/.gitignore | 5 +++++ {src => backend/src}/confirmation.rs | 0 {src => backend/src}/errors.rs | 0 {src => backend/src}/main.rs | 0 {src => backend/src}/management.rs | 0 {src => backend/src}/settings.rs | 0 {src => backend/src}/utils.rs | 0 11 files changed, 9 insertions(+), 8 deletions(-) rename Cargo.lock => backend/Cargo.lock (100%) rename Cargo.toml => backend/Cargo.toml (100%) create mode 100644 backend/src/.gitignore rename {src => backend/src}/confirmation.rs (100%) rename {src => backend/src}/errors.rs (100%) rename {src => backend/src}/main.rs (100%) rename {src => backend/src}/management.rs (100%) rename {src => backend/src}/settings.rs (100%) rename {src => backend/src}/utils.rs (100%) diff --git a/.dockerignore b/.dockerignore index d4793c2..5692dcc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,9 +1,9 @@ *config.toml Dockerfile README.md -data/* -logs/* -target/* +backend/data/* +backend/logs/* +backend/target/* website/README.md website/dist/* website/node_modules/* diff --git a/.gitignore b/.gitignore index f63f304..ab8b69c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1 @@ -/target -/data -/logs -/config.toml -/assets/webpage \ No newline at end of file +config.toml \ No newline at end of file diff --git a/Cargo.lock b/backend/Cargo.lock similarity index 100% rename from Cargo.lock rename to backend/Cargo.lock diff --git a/Cargo.toml b/backend/Cargo.toml similarity index 100% rename from Cargo.toml rename to backend/Cargo.toml diff --git a/backend/src/.gitignore b/backend/src/.gitignore new file mode 100644 index 0000000..f63f304 --- /dev/null +++ b/backend/src/.gitignore @@ -0,0 +1,5 @@ +/target +/data +/logs +/config.toml +/assets/webpage \ No newline at end of file diff --git a/src/confirmation.rs b/backend/src/confirmation.rs similarity index 100% rename from src/confirmation.rs rename to backend/src/confirmation.rs diff --git a/src/errors.rs b/backend/src/errors.rs similarity index 100% rename from src/errors.rs rename to backend/src/errors.rs diff --git a/src/main.rs b/backend/src/main.rs similarity index 100% rename from src/main.rs rename to backend/src/main.rs diff --git a/src/management.rs b/backend/src/management.rs similarity index 100% rename from src/management.rs rename to backend/src/management.rs diff --git a/src/settings.rs b/backend/src/settings.rs similarity index 100% rename from src/settings.rs rename to backend/src/settings.rs diff --git a/src/utils.rs b/backend/src/utils.rs similarity index 100% rename from src/utils.rs rename to backend/src/utils.rs