30.06.2013 Views

SQL Server Team-based Development - Red Gate Software

SQL Server Team-based Development - Red Gate Software

SQL Server Team-based Development - Red Gate Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4: Managing Deployments<br />

You'll need to open the properties for all the projects and set the connection string for<br />

each one. Once you've completed these edits and saved the solution, you're done, and the<br />

Sandbox_MyApp project is ready for deployment. Simply check the latest code out of<br />

source control, set the configuration to the server to which you want to deploy, and run<br />

the deploy process.<br />

Shared development<br />

At some point, you'll have new functionality completed in your sandbox environment.<br />

You'll have synchronized it with source control, and possibly applied a label or some<br />

other determined version. It's now time to make sure your code works properly with<br />

the code developed by the rest of your team, before releasing it to the Staging team. In<br />

this example, I've referred to this environment as the shared development (or common<br />

server) environment, to make it clear that you may expect changes to the code base in<br />

this environment.<br />

This deployment is usually scheduled, but could be on demand, depending on your<br />

processes and the needs of the development project. In either case, your goal is an<br />

unattended, automated install, rather than something that requires a lot of manual effort.<br />

To deploy to the integration server, you need to set up a new server project (<strong>Development</strong>)<br />

and a new compound project (<strong>Development</strong>_MyApp) within the solution. Once<br />

these are completed, you can create custom security logins for the server project. You can<br />

also add environment-specific roles and privileges to the compound project, independent<br />

of the server roles and privileges, if needed.<br />

With the projects created, you can then create a new <strong>Development</strong> solution configuration,<br />

as described previously. This time, you'll have five projects in the solution, as shown<br />

in Figure 4-6.<br />

102

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!