Page MenuHomePhabricator

Aditiganvir28 (Aditi Ganvir)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Mar 14 2023, 11:19 AM (57 w, 3 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Aditiganvir28 [ Global Accounts ]

Recent Activity

Apr 29 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda Can you please review my patch
https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/907830

Apr 29 2023, 8:19 PM · Patch-For-Review, good first task, VideoCutTool

Apr 25 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

What do you mean ? I'm pretty sure you can run different processes in the same dockerfile as a container. I did a basic test on my PC and was able to come up with a basic config that worked.

version: '3.9'
services:
  videocuttool:
    container_name: videocuttool
    build:
      context: .
      dockerfile: Dockerfile.dev
    volumes:
      - ./src:/app/src:ro
      - ./server:/app/server
      - ./public:/app/public
      - '/app/node_modules'
      - '/app/server/node_modules'
    ports:
      - '3000:3000'
      - '4000:4000'
    environment:
      - CHOKIDAR_USEPOLLING=true
      - NODE_ENV=development
      - DB_CONNECTION_URL=mongodb://videocuttool-mongo:27017/video-cut-tool
      - BACKEND_URL=http://videocuttool:4000/api/
    env_file:
      - .env.dev
    depends_on:
      - mongo
  mongo:
    container_name: videocuttool-mongo
    image: 'mongo:4'
    volumes:
      - ./mongo-data:/data/db
    ports:
      - '27017:27017'
  nginx:
    restart: always
    image: nginx:latest
    depends_on:
      - videocuttool
    ports:
      - 80:80
    volumes:
      - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
Apr 25 2023, 8:47 AM · Patch-For-Review, good first task, VideoCutTool

Apr 24 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Aditiganvir28 It still seems to have npm processes, can we not do this with only two containers, one with the npm servers and one with the nginx server ? The architecture I was looking for was to have one service with both npm servers and one with only a nginx connection

Apr 24 2023, 7:34 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda Can you please review my patch.
https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/907830

Apr 24 2023, 1:23 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.
Apr 24 2023, 5:06 AM · Patch-For-Review, good first task, VideoCutTool

Apr 19 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I tried removing dockerfile from nginx folder. But instead of that I have to run the nginx command
CMD ["sh", "-c", "nginx -g 'daemon off;' & npm run dev"].
Should I also bring default.conf file in the main directory instead of creating nginx folder.

I don't have a problem with a different container, what I don't understand is why we need a new dockerfile for it

AFAIK If we are not using a separate dockerfile then we have to run the nginx server after running our react app and backend. At first it was showing error running both but the issue was I didn't installed nginx in Dockerfile.dev. Now what I did is using only one container. If we want to use different containers we can do that also. In the new patchset upoladed I have used only one container.

I would prefer it to be a different container

Apr 19 2023, 6:25 PM · Patch-For-Review, good first task, VideoCutTool

Apr 16 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I tried removing dockerfile from nginx folder. But instead of that I have to run the nginx command
CMD ["sh", "-c", "nginx -g 'daemon off;' & npm run dev"].
Should I also bring default.conf file in the main directory instead of creating nginx folder.

I don't have a problem with a different container, what I don't understand is why we need a new dockerfile for it

Apr 16 2023, 5:59 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Also please stop uploading improvements as new patches, that is not how Gerrit is supposed to be used, and causes multiple spam commit/entries. Please unabandon your last change and upload your change as a patchset on top of the old change as per the guide linked in the description.

Apr 16 2023, 5:23 PM · Patch-For-Review, good first task, VideoCutTool

Apr 15 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I tried removing dockerfile from nginx folder. But instead of that I have to run the nginx command
CMD ["sh", "-c", "nginx -g 'daemon off;' & npm run dev"].
Should I also bring default.conf file in the main directory instead of creating nginx folder.

Apr 15 2023, 6:06 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

What error are you getting

Apr 15 2023, 3:52 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda If I am removing dockerfile.dev form nginx folder and docker-compose.dev.yml it is giving me error.

Apr 15 2023, 2:42 PM · Patch-For-Review, good first task, VideoCutTool

Apr 11 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I had added the new patch for review. Kindly please review it.
https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/907830

Apr 11 2023, 6:00 PM · Patch-For-Review, good first task, VideoCutTool

Apr 5 2023

Aditiganvir28 moved T333871: GSoC 2023 Proposal: Improve the Functionality of VideoCutTool from Proposals in Progress to Proposals Selected on the Google-Summer-of-Code (2023) board.
Apr 5 2023, 4:01 AM · Google-Summer-of-Code (2023)

Apr 4 2023

Aditiganvir28 updated the task description for T333871: GSoC 2023 Proposal: Improve the Functionality of VideoCutTool.
Apr 4 2023, 12:45 PM · Google-Summer-of-Code (2023)
Aditiganvir28 updated the task description for T333871: GSoC 2023 Proposal: Improve the Functionality of VideoCutTool.
Apr 4 2023, 12:39 PM · Google-Summer-of-Code (2023)

Apr 3 2023

Aditiganvir28 claimed T333871: GSoC 2023 Proposal: Improve the Functionality of VideoCutTool.
Apr 3 2023, 7:14 PM · Google-Summer-of-Code (2023)
Aditiganvir28 added a project to T333871: GSoC 2023 Proposal: Improve the Functionality of VideoCutTool: VideoCutTool.
Apr 3 2023, 6:58 PM · Google-Summer-of-Code (2023)
Aditiganvir28 created T333871: GSoC 2023 Proposal: Improve the Functionality of VideoCutTool.
Apr 3 2023, 6:54 PM · Google-Summer-of-Code (2023)

Apr 1 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Aditiganvir28: Again, please stop creating new patches for the same issue in Gerrit. Please fix existing patches instead by amending: https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change_.28your_own_or_someone_else.27s.29 . Please abandon patches in Gerrit if they are not relevant anymore. Thanks.

Apr 1 2023, 5:36 PM · Patch-For-Review, good first task, VideoCutTool

Mar 31 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I had uploaded the patch for review. Can you please review it.
https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/904589

Mar 31 2023, 10:07 PM · Patch-For-Review, good first task, VideoCutTool

Mar 29 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda do we need hot reloading for both frontend and backend

Mar 29 2023, 7:02 AM · Patch-For-Review, good first task, VideoCutTool

Mar 28 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda Kindly please review my code
https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/902612
Patchset 5

Mar 28 2023, 8:43 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Yeah sure should I push to the same branch

Can you mention which change is final, you have two patches for the same change

Mar 28 2023, 2:04 AM · Patch-For-Review, good first task, VideoCutTool

Mar 27 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda Kindly please review my code

Mar 27 2023, 7:05 PM · Patch-For-Review, good first task, VideoCutTool

Mar 26 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Yeah, I am sorry for that

Mar 26 2023, 1:00 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

This one
https://gerrit.wikimedia.org/r/c/labs/tools/VideoCutTool/+/902612
Patchset 3

Mar 26 2023, 9:46 AM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I had squash the two commits can you please review it

Mar 26 2023, 8:38 AM · Patch-For-Review, good first task, VideoCutTool

Mar 25 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I am getting this error when I am trying to squash the commits

Mar 25 2023, 8:37 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Yeah sure should I push to the same branch

Mar 25 2023, 6:47 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda I have made the required imporvements you told and now the backend and frontend are both running on localhost:8000.
Should I make the patch request again

Mar 25 2023, 6:27 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Actually If I used just node:16 , 'Run apk update' is showing error so I have to use node:16-alpine so that it doesn't show error

Why do you need apk update ? We can just use apt to do the same thing

Mar 25 2023, 4:51 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

I have left comments about improvements that need to be made

Mar 25 2023, 5:13 AM · Patch-For-Review, good first task, VideoCutTool

Mar 24 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Actually If I used just node:16 , 'Run apk update' is showing error so I have to use node:16-alpine so that it doesn't show error

Mar 24 2023, 10:00 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda Is the code verified or should I make changes in it

Mar 24 2023, 9:52 PM · Patch-For-Review, good first task, VideoCutTool

Mar 23 2023

Aditiganvir28 claimed T332517: Use nginx in the development config to combine frontend and backend.
Mar 23 2023, 4:42 AM · Patch-For-Review, good first task, VideoCutTool

Mar 21 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Hey @Soda @Gopavasanth My frontend and backend both are running and also nginx is running successfully but I am getting 502 bad gateway error on localhost:8000 (proxy server) . Can you please guide me what should I do

Mar 21 2023, 1:50 PM · Patch-For-Review, good first task, VideoCutTool

Mar 20 2023

Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.
Mar 20 2023, 8:13 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

@Soda In docker-compose.dev..yml no different services are defined like client and api . in videocuttool itself both the ports are defined for frontend and backend.

Mar 20 2023, 2:36 PM · Patch-For-Review, good first task, VideoCutTool
Aditiganvir28 added a comment to T332517: Use nginx in the development config to combine frontend and backend.

Hey, @Soda I would like to work on this task

Hi and thank you for your interest! Please check thoroughly https://www.mediawiki.org/wiki/New_Developers (and all of its communication section!). The page covers how to get started, assigning tasks, task status, how to find a codebase, how to create patches, where to ask general development questions and where to get help with setup problems, and how to ask good questions. Thanks a lot! :)

Mar 20 2023, 9:31 AM · Patch-For-Review, good first task, VideoCutTool