

This means that changes to the codebase are pushed up from local to staging to production.įor CMS driven websites like CraftCMS and Wordpress, the content on the production environment is in a fluid state as it can be updated at any time by content editors.
WEBSITES LIKE WEBOOK CODE
When managing multiple environments, a best practice is to implement a code up, data down workflow.

Production - The production environment is the primary environment for your website that is accessed by the end-users. This environment is great for allowing stakeholders, members of marketing and content teams, and other vital people to access the site to perform audits and quality assurance tests before the site is made live to the end-users. Staging - A staging environment is an environment where stakeholders can access the website. Local - The local environment is running on your local machine and is where you'll do all of your development. Often when developing websites, you'll have multiple environments that the website is running on. From the develop branch, we'll create feature and release branches on our local machines that will get merged back into the develop branch. The develop branch is the source of all of our support branches that we'll do any development from. Utilizing the git-flow workflow made famous by Vincent Driessen at nvie, we can ensure that only production-ready, release-ready code is in our master branch So here's the high-level idea, assuming you're familiar with version control systems. Luckily those days can be behind us using modern web development and deployment tools like Git and Buddy. Don't judge me, if you're a developer you probably tried it too.įar more common was to develop on a local environment and then FTP the whole site up, which was slow and created downtime while files were being overwritten, etc. I've been developing websites for almost a decade, and I can remember back when I started using tools like Coda and developing right on the server.
