Migrating/Seeding Page Types
Created 4 years ago by sumentutenHi guys! Been trying out PyroCMS3 for a week now. And I've created my Page Types locally, assigning fields and creating templates for them. And now I have to migrate them to my staging server. What is the best way to do this? Can this be done using the streams platform? How?
ryanthompson
—
4 years ago
We're investigating stashing migrations for everything in the system but.. not entirely sure what that looks like right now.
sumentuten
—
4 years ago
Worked smoothly. Thanks for the help!
You can set these up as a seed in some cases that may be what you want to do - but for migration to stage / remote I usually do this:
INSTALLED=false
in.env
php artisan streams:compile
INSTALLED=true
again.That will effectively push everything up (be sure to upload your file uploads too).