Migrating project from dev to prod
Hi All
I have a question on working with dev and prod environments.
After project is ready and signed, I usually migrate outcome to production using the export tool from the studio.
For changes/adding to existing projects, I exclude the production class (as it has some different values differing the dev from the live) and I add the differences manually afterwards.
My questions on migrating are:
Does anyone has (to share) his/her best practice steps on "migrating dev to prod"?
Does the export action (in management portal) is better to use?
Thanks
Gadi
Hi Paster-Bachar!
Have you seen Caché Github Continuous Integration project?
It provides you with ability to perform needed operations before/after importing code from Github repository.
Also please see this discussion regarding the CacheGithubCI
You can use conditional compilation to differentiate between live and dev as below (PRP is our live). So $$$debug(x) either shows the value in x on the screen in test or does nothing in live. Slight disadvantage is that what you test is not EXACTLY identical to what you run in live - but that's going to be the case anyway if you are "adding differences afterwards".