FAUCET WEBSITE INSTALLATION GUIDE STEP 0 - UPLOAD AND IMPORT 1. Upload all website files to your domain folder/public_html. 2. Create a new MySQL database from your hosting control panel. 3. Import database.sql into that database using phpMyAdmin. 4. Open your website domain in a browser. 5. If the script is not installed yet, it will redirect to /install/ automatically. STEP 1 - DATABASE SETUP 1. Enter the Database Host. Usually this is localhost. 2. Enter the Database Name. 3. Enter the Database Username. 4. Enter the Database Password. 5. Click Check Database. 6. The installer will confirm the connection and check that required tables exist. 7. If successful, click Continue to Step 2. If Step 1 says settings/users table is missing, database.sql was not imported correctly or the wrong database was selected. STEP 2 - SITE DETAILS Fill these details: - Site URL - Admin Gmail - Site Name - Tokens Per 1 USD - Google Client ID - Google Client Secret - License Key - Encryption Key Default License Key: FaucetENB-3520 Example: 1000000 tokens per 1 USD means 1,000,000 tokens = $1. GOOGLE OAUTH SETUP The installer will show the live Google Redirect URI based on your Site URL. Authorized JavaScript Origin format: https://your-domain.com Authorized Redirect URI format: https://your-domain.com/auth/google_callback Copy the exact values shown in the installer into Google Cloud Console. After entering the Google details, click Install Website. WHAT THE INSTALLER SAVES The installer writes/updates: - application/config/vie.php - application/config/google.php - application/config/installed.lock The installer also saves important database settings: - name - site_name - admin_email - admin_google_email - token_name - tokens_per_usd - currency_rate - site_url AFTER INSTALLATION 1. Delete the install folder from the server for security. 2. Open /admin. 3. Login with the same Gmail entered as Admin Gmail. 4. Review settings, ad codes, API keys, deposit settings, and withdrawal settings before launch. TROUBLESHOOTING If the installer cannot write files, make sure application/config is writable. If /admin is blank, clear browser cookies/session for the domain and try again. If Google login fails, check that the Google Redirect URI and JavaScript Origin were copied exactly into Google Cloud. Token Settings Patch: For existing demo/customer databases, run database_token_settings_patch.sql once to add token_name and sync token value settings.