chore: rename server to api (#7342)

This commit is contained in:
sriram veeraghanta
2025-07-04 15:32:21 +05:30
committed by GitHub
parent 6bee97eb26
commit fdbe4c2ca6
554 changed files with 39 additions and 43 deletions

View File

@@ -205,7 +205,7 @@ jobs:
buildx-platforms: ${{ needs.branch_build_setup.outputs.gh_buildx_platforms }} buildx-platforms: ${{ needs.branch_build_setup.outputs.gh_buildx_platforms }}
buildx-endpoint: ${{ needs.branch_build_setup.outputs.gh_buildx_endpoint }} buildx-endpoint: ${{ needs.branch_build_setup.outputs.gh_buildx_endpoint }}
branch_build_push_apiserver: branch_build_push_api:
name: Build-Push API Server Docker Image name: Build-Push API Server Docker Image
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
needs: [branch_build_setup] needs: [branch_build_setup]
@@ -220,8 +220,8 @@ jobs:
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
docker-image-owner: makeplane docker-image-owner: makeplane
docker-image-name: ${{ needs.branch_build_setup.outputs.dh_img_backend }} docker-image-name: ${{ needs.branch_build_setup.outputs.dh_img_backend }}
build-context: ./apps/server build-context: ./apps/api
dockerfile-path: ./apps/server/Dockerfile.api dockerfile-path: ./apps/api/Dockerfile.api
buildx-driver: ${{ needs.branch_build_setup.outputs.gh_buildx_driver }} buildx-driver: ${{ needs.branch_build_setup.outputs.gh_buildx_driver }}
buildx-version: ${{ needs.branch_build_setup.outputs.gh_buildx_version }} buildx-version: ${{ needs.branch_build_setup.outputs.gh_buildx_version }}
buildx-platforms: ${{ needs.branch_build_setup.outputs.gh_buildx_platforms }} buildx-platforms: ${{ needs.branch_build_setup.outputs.gh_buildx_platforms }}
@@ -260,7 +260,7 @@ jobs:
branch_build_push_web, branch_build_push_web,
branch_build_push_space, branch_build_push_space,
branch_build_push_live, branch_build_push_live,
branch_build_push_apiserver, branch_build_push_api,
branch_build_push_proxy, branch_build_push_proxy,
] ]
env: env:

View File

@@ -48,7 +48,7 @@ This helps us triage and manage issues more efficiently.
The project is a monorepo, with backend api and frontend in a single repo. The project is a monorepo, with backend api and frontend in a single repo.
The backend is a django project which is kept inside apps/server The backend is a django project which is kept inside apps/api
1. Clone the repo 1. Clone the repo

View File

@@ -70,18 +70,18 @@ ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 ENV PIP_DISABLE_PIP_VERSION_CHECK=1
COPY apps/server/requirements.txt ./api/ COPY apps/api/requirements.txt ./api/
COPY apps/server/requirements ./api/requirements COPY apps/api/requirements ./api/requirements
RUN pip install -r ./api/requirements.txt --compile --no-cache-dir RUN pip install -r ./api/requirements.txt --compile --no-cache-dir
# Add in Django deps and generate Django's static files # Add in Django deps and generate Django's static files
COPY apps/server/manage.py ./api/manage.py COPY apps/api/manage.py ./api/manage.py
COPY apps/server/plane ./api/plane/ COPY apps/api/plane ./api/plane/
COPY apps/server/templates ./api/templates/ COPY apps/api/templates ./api/templates/
COPY package.json ./api/package.json COPY package.json ./api/package.json
COPY apps/server/bin ./api/bin/ COPY apps/api/bin ./api/bin/
RUN chmod +x ./api/bin/* RUN chmod +x ./api/bin/*
RUN chmod -R 777 ./api/ RUN chmod -R 777 ./api/

Some files were not shown because too many files have changed in this diff Show More