In general, SQL Server 2012 data replication is exceptionally easy to set up via SQL Server Management Studio wizards. However, if you use the wizards, you need to be sure to generate SQL scripts for every phase of replication configuration. In a production environment, you are likely to rely heavily on scripts and not have the luxury of having much time to set up and break down production replication configurations via wizards. Generating SQL scripts also eases the setup/breakdown process in development, test, and user acceptance environments.
You always have to define any data replication configuration in the following order:
1. Create or enable a distributor to enable publishing.
2. Enable publishing (a distributor ...