mirror of
https://github.com/hotheadhacker/seedbox-lite.git
synced 2025-09-02 00:51:36 +03:00
- Created a new script `test-cors.sh` to test CORS configuration. - Included tests for OPTIONS preflight request, actual POST request, and health endpoint. - Utilized curl for making requests to the API with appropriate headers.
1.3 KiB
1.3 KiB
🚀 Quick Start Guide
Docker Deployment (Recommended)
Prerequisites
- Docker 20+ installed
- Docker Compose installed
Steps
-
Clone and setup:
git clone https://github.com/hotheadhacker/seedbox-lite.git cd seedbox-lite -
Configure environment (optional):
# Edit .env file to change default password nano .env -
Deploy:
./deploy.sh docker -
Access:
- Frontend: http://localhost:5174
- Backend: http://localhost:3001
- Default password:
seedbox123
PM2 Deployment
Prerequisites
- Node.js 18+ installed
- PM2 installed globally (
npm install -g pm2)
Steps
-
Clone and setup:
git clone https://github.com/hotheadhacker/seedbox-lite.git cd seedbox-lite -
Deploy:
./deploy.sh pm2 -
Access:
- Frontend: http://localhost:5174
- Backend: http://localhost:3001
Testing
# Test if everything is working
./deploy.sh test
Troubleshooting
- Port conflicts: Edit
.envfile to changeFRONTEND_PORTandBACKEND_PORT - Docker issues: Run
docker-compose down && docker-compose up --build - PM2 issues: Run
pm2 kill && ./deploy.sh pm2
Security
- Change
ACCESS_PASSWORDin.envfile immediately - Use HTTPS in production
- Keep dependencies updated