5 Commits

Author SHA1 Message Date
morteza 7f56e58dee optimize docker
deploy to danak / build_and_deploy (push) Has been cancelled
2026-06-22 19:36:22 +03:30
morteza 3f9a2072ea update api url
deploy to danak / build_and_deploy (push) Has been cancelled
2026-06-22 16:35:10 +03:30
hamid zarghami 778223a550 logo and base url
deploy to danak / build_and_deploy (push) Has been cancelled
2026-02-24 14:39:58 +03:30
Mehdi Mehrmanesh 814784b9a8 add gitlab-ci file 2026-02-21 13:40:29 +03:30
hamid zarghami 234256f89c name and color 2026-02-21 10:12:43 +03:30
8 changed files with 67 additions and 1089 deletions
+12
View File
@@ -0,0 +1,12 @@
node_modules
dist
dist-ssr
.git
.github
*.md
.env
.env.*
.vscode
.idea
.DS_Store
*.log
+3 -3
View File
@@ -1,6 +1,6 @@
VITE_BASE_URL = 'https://api.fajrtabloshop.com'
VITE_BASE_URL = 'https://api.shinan.ir'
# VITE_BASE_URL = 'http://192.168.99.235:4000'
# VITE_BASE_URL = 'https://api.shinan.ir'
VITE_TOKEN_NAME = 'sh_admin_token'
VITE_REFRESH_TOKEN_NAME = 'sh_admin_refresh_token'
VITE_TOKEN_NAME = 'shinan_admin_token'
VITE_REFRESH_TOKEN_NAME = 'shinan_admin_refresh_token'
+3 -5
View File
@@ -3,7 +3,7 @@ name: deploy to danak
on:
push:
branches:
- tablofajr
- shinan
jobs:
build_and_deploy:
@@ -11,10 +11,8 @@ jobs:
env:
DANAK_SERVER: "https://captain.dev.danakcorp.com"
APP_TOKEN: 0c540850b77568a873eaf92399a54cc042fa1054a0336b7909ae8f42effe5971
APP_NAME: shop-admin
# APP_TOKEN: 111ac60c637716478be8ab8b888fd20baba808a10b0fc0c18bf788766883ec9e
# APP_NAME: e-commerce-front
APP_TOKEN: 0fbba2ce0112b82dbdb6e8d2d5f6b07db97e3074d2bb7cca6b81f8287e680bb9
APP_NAME: shinan-admin
GITHUB_TOKEN: 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
steps:
+8 -14
View File
@@ -1,24 +1,18 @@
FROM node:20-alpine AS builder
# Install tzdata to support timezone settings
RUN apk add --no-cache tzdata
# Set the timezone to Asia/Tehran
RUN cp /usr/share/zoneinfo/Asia/Tehran /etc/localtime && echo "Asia/Tehran" > /etc/timezone
WORKDIR /build
COPY package*.json ./
RUN npm install
COPY . ./
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM nginx:stable-alpine AS production-stage
FROM nginx:stable-alpine AS production
COPY --from=builder /build/dist /usr/share/nginx/html
COPY --from=builder /build/nginx.con[f] /etc/nginx/conf.d/default.conf
RUN cat /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]
+2 -2
View File
@@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>پنل مدیریت | فجر تابلو مرکزی</title>
<title>پنل مدیریت | شینان</title>
</head>
<body>
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 549 KiB

+22 -1064
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 550 KiB

+1 -1
View File
@@ -33,7 +33,7 @@ textarea::placeholder {
}
@theme {
--color-primary: #da2129;
--color-primary: #a62186;
--color-secondary: #f4f5f9;
--color-border: #d0d0d0;
--color-description: #888888;