Installation¶
This guide will help you install and set up Scrapazoid on your system.
Prerequisites¶
- Python 3.9 or higher
- Git
- Virtual environment tool (venv or virtualenv)
Installation Steps¶
1. Clone the Repository¶
2. Create a Virtual Environment¶
3. Install Dependencies¶
4. Install Playwright Browsers¶
5. Initialize the Database¶
6. Run the Application¶
The application will be available at http://localhost:5000
Docker Installation (Alternative)¶
If you prefer using Docker:
Environment Variables¶
Create a .env file in the project root:
# Application
FLASK_ENV=development
SECRET_KEY=your-secret-key-here
# Database
DATABASE_URL=sqlite:///scrapazoid_dev.db
# Execution Settings
MAX_EXECUTION_TIME=300
MAX_CONCURRENT_EXECUTIONS_PER_USER=3
Verify Installation¶
- Navigate to
http://localhost:5000 - Register a new account
- Go to the Editor and run the example script
- Check that screenshots and logs appear
Troubleshooting¶
Playwright Browser Not Found¶
Database Errors¶
Port Already in Use¶
Change the port in run.py: