From d78525c16c670ca8ab144e32ac89bd8f015e6610 Mon Sep 17 00:00:00 2001 From: yash Date: Wed, 17 Apr 2024 04:29:26 +0530 Subject: [PATCH] chore: changed project name --- README.md | 6 ++---- docker-compose.yaml | 26 ++++++++++++++++++++++++++ env.list.example | 4 ++++ env.sh.example | 6 ++++++ public/index.html | 5 +++-- src/features/AddWorkspace/index.tsx | 9 ++++++--- src/features/EditWorkspace/index.tsx | 10 +++++++--- src/features/login/index.tsx | 2 +- 8 files changed, 55 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 03c7771..b9e6f05 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Activity-leaderboard Backend +# Tracer -### Activity Leader Board is a open source project which can be used to monitor progress in an Organization . +### Tracer is a open source project which can be used to monitor progress in an Organization/Team . @@ -17,5 +17,3 @@ **Caching**: Redis -### Activity-leaderboard Frontend -[frontend](https://github.com/mdgspace/activity-leaderboard.git) \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index aae57b0..2d54bcf 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,6 +4,32 @@ networks: driver: bridge services: + localstack: + image: localstack/localstack:1.0.4 + networks: + - network + environment: + - SERVICES=s3:4566 + - HOSTNAME=localstack + - HOSTNAME_EXTERNAL=localstack + - DEFAULT_REGION=us-east-1 + + aws-cli: + image: amazon/aws-cli + restart: on-failure + networks: + - network + depends_on: + - localstack + environment: + - AWS_ACCESS_KEY_ID=test + - AWS_SECRET_ACCESS_KEY=test + - AWS_DEFAULT_REGION=us-east-1 + entrypoint: /bin/sh -c + command: > + " + aws --endpoint-url=http://localstack:4566 s3api create-bucket --bucket bucket --region us-east-1 + " backend: build: context: . diff --git a/env.list.example b/env.list.example index 88522c6..95c16ca 100644 --- a/env.list.example +++ b/env.list.example @@ -1,3 +1,7 @@ +CLIENT_ID= +BACKEND_URL=http://localhost:8080 +AVATAR_API= + # Postgres configurations POSTGRES_HOST= diff --git a/env.sh.example b/env.sh.example index 0de1818..4c4b10d 100644 --- a/env.sh.example +++ b/env.sh.example @@ -1,5 +1,11 @@ #!/bin/bash + +# Frontend configuration +export CLIENT_ID= +export BACKEND_URL=http://localhost:8080 +export AVATAR_API= + # Postgres configurations export POSTGRES_HOST= export POSTGRES_USER= diff --git a/public/index.html b/public/index.html index 0ecb1c9..5e7a7a6 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,8 @@