-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
209 additions
and
149 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,7 @@ dist-ssr | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# cypress | ||
cypress/screenshots/* | ||
cypress/videos/* |
Empty file.
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,8 +1,8 @@ | ||
import { defineConfig } from "cypress"; | ||
|
||
export default defineConfig({ | ||
e2e: { | ||
baseUrl: "https://localhost/", | ||
specPattern: "src/test/e2e/**/*.cy.{js,jsx,ts,tsx}", | ||
}, | ||
e2e: { | ||
baseUrl: "https://nginx", | ||
specPattern: "src/test/e2e/**/*.cy.{js,jsx,ts,tsx}", | ||
}, | ||
}); |
Binary file removed
BIN
-72.5 KB
...s/login page -- routes to dashboard when pressing dashboard button (failed).png
Binary file not shown.
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,39 +1,39 @@ | ||
{ | ||
"name": "vite-vue-typescript-starter", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"host": "vite --host", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview", | ||
"test": "vitest", | ||
"cypress:open": "cypress open", | ||
"cypress:test": "cypress run" | ||
}, | ||
"dependencies": { | ||
"@vueuse/core": "^10.9.0", | ||
"axios": "^1.6.8", | ||
"js-cookie": "^3.0.5", | ||
"moment": "^2.30.1", | ||
"pinia": "^2.1.7", | ||
"primeflex": "^3.3.1", | ||
"primeicons": "^6.0.1", | ||
"primevue": "^3.50.0", | ||
"vue": "^3.4.18", | ||
"vue-i18n": "^9.10.2", | ||
"vue-router": "^4.3.0" | ||
}, | ||
"devDependencies": { | ||
"@types/js-cookie": "^3.0.6", | ||
"@types/node": "^20.11.30", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"cypress": "^13.7.1", | ||
"sass": "^1.72.0", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.1", | ||
"vitest": "^1.4.0", | ||
"vue-tsc": "^1.8.27" | ||
} | ||
"name": "vite-vue-typescript-starter", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"host": "vite --host", | ||
"build": "vue-tsc && vite build", | ||
"preview": "vite preview", | ||
"test": "vitest run", | ||
"cypress:open": "cypress open", | ||
"cypress:test": "cypress run" | ||
}, | ||
"dependencies": { | ||
"@vueuse/core": "^10.9.0", | ||
"axios": "^1.6.8", | ||
"js-cookie": "^3.0.5", | ||
"moment": "^2.30.1", | ||
"pinia": "^2.1.7", | ||
"primeflex": "^3.3.1", | ||
"primeicons": "^6.0.1", | ||
"primevue": "^3.50.0", | ||
"vue": "^3.4.18", | ||
"vue-i18n": "^9.10.2", | ||
"vue-router": "^4.3.0" | ||
}, | ||
"devDependencies": { | ||
"@types/js-cookie": "^3.0.6", | ||
"@types/node": "^20.11.30", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"cypress": "^13.7.1", | ||
"sass": "^1.72.0", | ||
"typescript": "^5.2.2", | ||
"vite": "^5.1.1", | ||
"vitest": "^1.4.0", | ||
"vue-tsc": "^1.8.27" | ||
} | ||
} |
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,107 @@ | ||
version: "3.9" | ||
|
||
############################# NETWORKS | ||
|
||
networks: | ||
selab_network: | ||
name: selab_network | ||
driver: bridge | ||
ipam: | ||
config: | ||
- subnet: 192.168.90.0/24 | ||
|
||
############################# EXTENSIONS | ||
|
||
x-common-keys-selab: &common-keys-selab | ||
networks: | ||
- selab_network | ||
security_opt: | ||
- no-new-privileges:true | ||
restart: unless-stopped | ||
environment: | ||
TZ: $TZ | ||
PUID: $PUID | ||
PGID: $PGID | ||
env_file: | ||
- .env | ||
|
||
############################# SERVICES | ||
|
||
services: | ||
nginx: | ||
<<: *common-keys-selab | ||
image: nginx:latest | ||
container_name: nginx | ||
expose: | ||
- 80 | ||
- 443 | ||
- 8080 | ||
volumes: | ||
- ${DATA_DIR}/nginx/nginx.dev.conf:/etc/nginx/nginx.conf:ro | ||
- ${SSL_DIR}:/etc/nginx/ssl:ro | ||
depends_on: | ||
- backend | ||
- frontend | ||
|
||
backend: | ||
<<: *common-keys-selab | ||
container_name: backend | ||
build: | ||
context: $BACKEND_DIR | ||
dockerfile: Dockerfile.dev | ||
command: /bin/bash -c "./setup.sh && python manage.py runsslserver 192.168.90.2:8080" | ||
expose: | ||
- 8080 | ||
volumes: | ||
- $BACKEND_DIR:/code | ||
|
||
celery: | ||
<<: *common-keys-selab | ||
container_name: celery | ||
build: | ||
context: $BACKEND_DIR | ||
dockerfile: Dockerfile.dev | ||
command: celery -A ypovoli worker -l DEBUG | ||
volumes: | ||
- $BACKEND_DIR:/code | ||
depends_on: | ||
- backend | ||
- redis | ||
|
||
frontend: | ||
<<: *common-keys-selab | ||
container_name: frontend | ||
build: | ||
context: $FRONTEND_DIR | ||
dockerfile: Dockerfile.dev | ||
command: bash -c "npm install && npm run host" | ||
expose: | ||
- 5173 | ||
volumes: | ||
- $FRONTEND_DIR:/app | ||
depends_on: | ||
- backend | ||
|
||
redis: | ||
<<: *common-keys-selab | ||
container_name: redis | ||
image: redis:latest | ||
networks: | ||
selab_network: | ||
ipv4_address: $REDIS_IP | ||
expose: | ||
- $REDIS_PORT | ||
entrypoint: redis-server --appendonly yes --maxmemory 512mb --maxmemory-policy allkeys-lru | ||
volumes: | ||
- ${DATA_DIR}/redis:/data | ||
|
||
cypress: | ||
<<: *common-keys-selab | ||
container_name: cypress | ||
image: cypress/included:cypress-12.17.3-node-18.16.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1 | ||
restart: "no" | ||
working_dir: /e2e | ||
volumes: | ||
- ${FRONTEND_DIR}:/e2e | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" |
Oops, something went wrong.