-
-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: docker setup and documentations (#1034)
* feat: add to cart api added (#938) * API ADDED * API ADDED * API ADDED * [ImgBot] Optimize images (#1012) *Total -- 554.68kb -> 429.64kb (22.54%) /src/assets/pictures/authpages/Auth_banner.png -- 199.40kb -> 78.36kb (60.7%) /src/assets/pictures/authpages/google.png -- 7.87kb -> 4.75kb (39.68%) /src/assets/pictures/shop/handmades/handmades/h4.png -- 109.57kb -> 109.17kb (0.37%) /src/assets/pictures/shop/handmades/h4.png -- 109.57kb -> 109.17kb (0.37%) /src/assets/pictures/shop/trendingproducts/art/artproduct4.png -- 128.27kb -> 128.21kb (0.05%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> * feat: added org invites * fix: changing labels * chore(workflows): re-vamped the existing workflows * chore(deps): bump dotenv from 16.0.3 to 16.3.1 (#1015) Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.0.3 to 16.3.1. - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](motdotla/dotenv@v16.0.3...v16.3.1) --- updated-dependencies: - dependency-name: dotenv dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tamal Das <tamalcodes@gmail.com> * fix: updating labels * feat: re-added templates * chore(deps): bump react-icons from 4.8.0 to 4.10.1 (#1017) Bumps [react-icons](https://github.com/react-icons/react-icons) from 4.8.0 to 4.10.1. - [Release notes](https://github.com/react-icons/react-icons/releases) - [Commits](react-icons/react-icons@v4.8.0...v4.10.1) --- updated-dependencies: - dependency-name: react-icons dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tamal Das <tamalcodes@gmail.com> --------- Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: imgbot[bot] <31301654+imgbot[bot]@users.noreply.github.com> Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: Tamal Das <tamalcodes@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: changes to workflow names for DX * docs: updated docs for better understanding * fix: remove extra gaps * feat: new banner for readme * fix: removing extra images * docs: update readme changes * fix: change branch for releases * docs: changes to workflow description * chore(refactor): changes to dockerfiles and issue automations (#1033) * fix: removed extra invitation issue template --------- Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Harsh Patil <harshpatil2956@gmail.com> Co-authored-by: imgbot[bot] <31301654+imgbot[bot]@users.noreply.github.com> Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d926fc7
commit 6995ba0
Showing
33 changed files
with
216 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: PR Triage Labeler | ||
name: 📢 Add Labels to PRs | ||
|
||
on: | ||
pull_request_target: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
name: 'Auto Author Assign' | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
assign-author: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: toshimaru/auto-author-assign@v1.1.0 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
name: 📢 Add Authors to PRs | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
assign-author: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: toshimaru/auto-author-assign@v1.1.0 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Welcome to MilanCommunity | ||
name: 🏡 Greet users | ||
|
||
on: | ||
fork: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
name: 🏡 Invite users | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Lint PR title | ||
name: 📢 Lint PR Titles | ||
|
||
on: | ||
pull_request_target: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
# Use an official Node.js image as the base image | ||
FROM node:16-alpine | ||
WORKDIR '/app' | ||
|
||
COPY package.json . | ||
RUN npm install | ||
COPY . . | ||
# Set the working directory in the container | ||
WORKDIR /app | ||
|
||
CMD ["npm","start"] | ||
# Copy package.json and package-lock.json to the container | ||
COPY package*.json ./ | ||
COPY vite.config.js . | ||
|
||
# Install project dependencies | ||
RUN npm install | ||
|
||
# Copy the rest of the application code to the container | ||
COPY . . | ||
|
||
# if facing error while building image, paste there two command in terminal. | ||
# Expose the port that the Vite server will run on | ||
EXPOSE 3000 | ||
|
||
# export DOCKER_BUILDKIT=0 | ||
# export COMPOSE_DOCKER_CLI_BUILD=0 | ||
# Start the Vite development server | ||
CMD ["npm", "run", "dev"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: "3.8" | ||
|
||
services: | ||
app: | ||
restart: always | ||
container_name: milan-frontend-container | ||
image: milan-frontend | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
volumes: | ||
- ./src:/app/src | ||
ports: | ||
- 3000:3000 | ||
env_file: | ||
- .env |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.