update for pc server
This commit is contained in:
@@ -23,7 +23,8 @@ We have provided a script to automate the deployment process.
|
|||||||
```bash
|
```bash
|
||||||
./deploy.sh
|
./deploy.sh
|
||||||
```
|
```
|
||||||
|
## assigne admin
|
||||||
|
docker-compose exec backend python scripts/reset_admin.py
|
||||||
## Manual Deployment Steps
|
## Manual Deployment Steps
|
||||||
|
|
||||||
If you prefer to deploy manually, follow these steps:
|
If you prefer to deploy manually, follow these steps:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
frontend-builder:
|
frontend-builder:
|
||||||
image: node:18-alpine
|
image: node:22-alpine
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend:/app
|
- ./frontend:/app
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
|
|||||||
import { useAuth } from '../context/AuthContext';
|
import { useAuth } from '../context/AuthContext';
|
||||||
import api from '../api';
|
import api from '../api';
|
||||||
import { useNavigate } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
import { CheckCircle, XCircle, Clock, AlertCircle, Plus, LogOut, Search, Filter, Menu } from 'lucide-react';
|
import { CheckCircle, XCircle, Clock, AlertCircle, Plus, LogOut, Filter, Menu } from 'lucide-react';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
|
|
||||||
interface Job {
|
interface Job {
|
||||||
|
|||||||
Reference in New Issue
Block a user