After a site has been granted access to dev tools, our process for making edits has to change. We have to follow the same steps the client does from now on maintain source control.
- Download latest zip files from Production CMS. (You should always download from Production).
- Unzip files.
- Copy the package.json, gulpfile.js, and src folder into a new folder on your computer.
- Navigate to this new folder in Terminal.
- Run npm install.
- While that is running you can start making changes to the files in the src folder.
- After you have made the changes you are wanting to make, return to Terminal and run gulp.
- Once that command has finished you can log into the UAT CMS and Click Settings > Templates > Upload a new template (Green Button). From the window that pops up find your project folder and then go into the deploy folder and open the zip file that is inside. This will start the upload process.
- When the upload is complete you will notice the page update, and show that you have made changes to the website. From here, you can use your UAT site to test the changes and make sure everything is working as desired.
- If you are unhappy with the changes you have made, please activate the previous zip in Settings, and delete the bad zip.
- When you are ready to make the changes to the live site, you can log into the Production CMS and find the Settings > Templates and then click the green button again to find your zip file to upload, just like you did in the last two steps.