diff --git a/.github/workflows/deploy-client.yml b/.github/workflows/deploy-client.yml index 38e98fb..b4118ca 100644 --- a/.github/workflows/deploy-client.yml +++ b/.github/workflows/deploy-client.yml @@ -3,7 +3,7 @@ name: Deploy Client Production on: push: paths: - - "client/**" # Trigger when any file in the 'client' folder is changed + - "client/**" jobs: deploy: @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '16' # Ensure you're using the appropriate Node.js version + node-version: "16" - name: Install Vercel CLI globally run: npm install -g vercel @@ -26,4 +26,4 @@ jobs: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} run: | cd client # Navigate to the client directory - vercel --prod --token $VERCEL_TOKEN --yes \ No newline at end of file + vercel --prod --token $VERCEL_TOKEN --yes diff --git a/.github/workflows/deploy-server.yml b/.github/workflows/deploy-server.yml index 60224de..1d47de4 100644 --- a/.github/workflows/deploy-server.yml +++ b/.github/workflows/deploy-server.yml @@ -3,7 +3,7 @@ name: Deploy Server Production on: push: paths: - - "server/**" # Trigger when any file in the 'server' folder is changed + - "server/**" jobs: deploy: @@ -16,7 +16,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v2 with: - node-version: '16' # Ensure you're using the appropriate Node.js version + node-version: "16" # Ensure you're using the appropriate Node.js version - name: Install Vercel CLI globally run: npm install -g vercel @@ -26,4 +26,4 @@ jobs: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} run: | cd server # Navigate to the server directory - vercel --prod --token $VERCEL_TOKEN --yes \ No newline at end of file + vercel --prod --token $VERCEL_TOKEN --yes diff --git a/.github/workflows/docker-compose.yml b/.github/workflows/docker-compose.yml deleted file mode 100644 index b5425ba..0000000 --- a/.github/workflows/docker-compose.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: "3.8" - -services: - frontend: - build: - context: ./client - ports: - - "5173:5173" - volumes: - - ./client:/app - - /app/node_modules - environment: - - NODE_ENV=development - depends_on: - - backend - - backend: - build: - context: ./server - ports: - - "8080:8080" - volumes: - - ./server:/app - - /app/node_modules # - environment: - - NODE_ENV=development - - FRONTEND_URL=http://client:5173 diff --git a/client/.dockerignore b/client/.dockerignore deleted file mode 100644 index 37d7e73..0000000 --- a/client/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -.env diff --git a/client/Dockerfile b/client/Dockerfile deleted file mode 100644 index 773a240..0000000 --- a/client/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM node:18 -WORKDIR /app/client - -COPY package.json package-lock.json ./ - -RUN npm install -COPY . . - -RUN npm run build - -EXPOSE 5173 - -CMD ["npm", "run", "dev"] diff --git a/landing_page/.dockerignore b/landing_page/.dockerignore deleted file mode 100644 index 483c52d..0000000 --- a/landing_page/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules -.gitignore -.en \ No newline at end of file diff --git a/landing_page/Dockerfile b/landing_page/Dockerfile deleted file mode 100644 index e4b6f72..0000000 --- a/landing_page/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM node -WORKDIR /app -COPY . . -RUN npm install -EXPOSE 3000 -CMD ["npm", "start"] \ No newline at end of file diff --git a/model/README.md b/model/README.md deleted file mode 100644 index 2bb0635..0000000 --- a/model/README.md +++ /dev/null @@ -1,7 +0,0 @@ -## Flask Server - -- Flask is a python framework suitable for light weight applications. - -# How to Run the Server - -- python app.py diff --git a/model/image.jpeg b/model/image.jpeg deleted file mode 100644 index 10e5b71..0000000 Binary files a/model/image.jpeg and /dev/null differ diff --git a/server/.dockerignore b/server/.dockerignore deleted file mode 100644 index 37d7e73..0000000 --- a/server/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules -.env diff --git a/server/Dockerfile b/server/Dockerfile deleted file mode 100644 index d4e4ca3..0000000 --- a/server/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM node:18 -WORKDIR /app/server - -COPY package.json package-lock.json ./ - -RUN npm install -COPY . . - -EXPOSE 8080 - -CMD ["npm", "start"] \ No newline at end of file