📋 Deployment Overview
This guide covers multiple deployment options for the Anti-Detect Browser application, from local development to production hosting.
⚙️ System Requirements
Operating System
Windows 10+, macOS 10.14+, Linux Ubuntu 18.04+
Memory (RAM)
Minimum 4GB, Recommended 8GB+
Storage
Minimum 2GB free space
Network
Stable internet connection
Software Dependencies
- Node.js: Version 16.0 or higher
- npm: Version 8.0 or higher (comes with Node.js)
- Python: Version 3.8+ (for development tools)
- Git: For version control and deployment
💻 Local Development Setup
Quick Start
-
Clone or Download the Project
git clone https://github.com/your-repo/anti-detect-browser.git cd anti-detect-browser
-
Install Dependencies
npm install
-
Start Development Server
cd public python -m http.server 8000
-
Access the Application
Open your browser and navigate to
http://localhost:8000
Your application should now be running locally! You can make changes to the files and refresh your browser to see updates.
🌐 Web Hosting Deployment
Hostinger Deployment
-
Prepare Files for Upload
Ensure your
publicfolder contains all necessary files:- public/\li>
- index.html
- styles.css
- auth.css
- renderer.js
- auth.js
- docs.html
- user-guide.html
- api-docs.html
- troubleshooting.html
- help-center.html
- deployment-guide.html
- public/\li>
-
Access Hostinger File Manager
Log into your Hostinger control panel and open the File Manager
-
Navigate to public_html
Go to the
public_htmldirectory (this is your website's root) -
Upload Files
Upload all files from your
publicfolder topublic_htmlMake sureindex.htmlis in the root ofpublic_html, not in a subfolder -
Set File Permissions
chmod 644 *.html *.css *.js chmod 755 public_html
-
Test Your Website
Visit your domain to verify the deployment
Other Hosting Platforms
Netlify
- Create a Netlify account and connect your Git repository
- Set build command:
npm run build(if applicable) - Set publish directory:
public - Deploy automatically on Git push
Vercel
- Install Vercel CLI:
npm i -g vercel - Run
vercelin your project directory - Follow the prompts to deploy
GitHub Pages
- Push your code to a GitHub repository
- Go to repository Settings → Pages
- Select source branch and
/publicfolder - Your site will be available at
username.github.io/repository-name
🖥️ Desktop Application Packaging
Electron Setup
-
Install Electron
npm install electron --save-dev npm install electron-builder --save-dev
-
Create main.js
const { app, BrowserWindow } = require('electron'); const path = require('path'); function createWindow() { const mainWindow = new BrowserWindow({ width: 1200, height: 800, webPreferences: { nodeIntegration: true, contextIsolation: false } }); mainWindow.loadFile('public/index.html'); } app.whenReady().then(createWindow); app.on('window-all-closed', () => { if (process.platform !== 'darwin') { app.quit(); } }); -
Update package.json
{ "main": "main.js", "scripts": { "electron": "electron .", "build": "electron-builder", "dist": "electron-builder --publish=never" }, "build": { "appId": "com.yourcompany.antidetectbrowser", "productName": "Anti-Detect Browser", "directories": { "output": "dist" }, "files": [ "public/**/*", "main.js", "package.json" ] } } -
Build Desktop App
npm run dist
The built application will be available in the
dist folder with installers for your platform.
🐳 Docker Deployment
Create Dockerfile
FROM nginx:alpine # Copy static files COPY public/ /usr/share/nginx/html/ # Copy nginx configuration (optional) # COPY nginx.conf /etc/nginx/nginx.conf # Expose port 80 EXPOSE 80 # Start nginx CMD ["nginx", "-g", "daemon off;"]
Build and Run
-
Build Docker Image
docker build -t anti-detect-browser .
-
Run Container
docker run -d -p 80:80 anti-detect-browser
-
Access Application
Visit
http://localhostto see your application
Docker Compose
version: '3.8'
services:
web:
build: .
ports:
- "80:80"
restart: unless-stopped
volumes:
- ./public:/usr/share/nginx/html:ro
Run with: docker-compose up -d
🛠️ Deployment Troubleshooting
Common Issues
Files Not Loading
- Check file paths are correct and case-sensitive
- Verify all files are uploaded to the correct directory
- Ensure file permissions are set correctly (644 for files, 755 for directories)
CSS/JS Not Working
- Check browser console for 404 errors
- Verify MIME types are configured correctly on your server
- Clear browser cache and try again
Electron App Issues
- Check Node.js and Electron versions compatibility
- Verify file paths in main.js are correct
- Check console for JavaScript errors
Docker Container Problems
- Check if port 80 is already in use:
docker ps - Verify Dockerfile syntax and build logs
- Check container logs:
docker logs container-name
Performance Optimization
Web Hosting
- Enable gzip compression on your server
- Use a CDN for static assets
- Optimize images and minify CSS/JS
- Enable browser caching with proper headers
Desktop App
- Minimize the app bundle size
- Use code splitting for large applications
- Enable hardware acceleration when needed
- Implement auto-updater for seamless updates
For additional help, check our troubleshooting guide or contact support through the help center.