Some basics env.production APP_ENV=production APP_DEBUG=false APP_URL=https://example.com set the rest based on prod configs (db, mail) dont forget to add .htaccess and .build-exclude.txt project Then just run the script by bash build.sh