1Environment
bashoc db create mysql --name db oc variables set APP_KEY=base64:… APP_ENV=production oc variables set DB_CONNECTION=mysql DB_URL='${{db.DATABASE_URL}}'2Start command
bashphp artisan migrate --force && php artisan serve --host 0.0.0.0 --port $PORT3Deploy (pick one)
① Connect GitHub: Project → Add service → GitHub repository (deploys on push) ② From this folder: oc up --wait (builds even without a Dockerfile) ③ Upload a folder or zip in the console: Add service → Upload source
bashoc login oc project create my-app --link oc up --wait