Admin Dashboard Deployment
Tip
- Operating System: Ubuntu 20.04 LTS
- Server Requirements: Minimum 2 cores 4GB RAM, Recommended 4 cores 8GB RAM
Dependencies
Download
# Download source code
git clone https://github.com/bytedesk/bytedesk-admin.git
cd bytedesk-admin
# Install dependencies
yarn install
# Start development
yarn dev
# Build for production
yarn build
Configuration
# Modify configuration files
vim .env.production
# Modify API URL
VITE_API_URL=https://api.example.com
Deploy
# Copy dist directory to nginx html directory
cp -r dist/* /var/www/html/weiyuai/admin/