Shaku
Shaku

Reputation: 670

How to setup Umbraco Courier across 3 different platforms?

I'd like to be able to use Courier on "website.com", "staging.website.com", and locally on my development machine. I'm having trouble finding good documentation on how to set this up. Do I need to install Umbraco on "staging.website.com" as well as "website.com" (if so, how do I do that?), or only "website.com"? How do I use Courier from my development machine -- it is usually hosted through local IIS using Visual Studio, so the URL is typically along the lines of localhost:portX. Doesn't the license for Courier need to have the same URL, not localhost?

Upvotes: 1

Views: 427

Answers (1)

jmaghuyop
jmaghuyop

Reputation: 125

Go to your courier.config in Config folder and add the following inside your Repositories tag

<repository name="Name of repo" alias="repo1" type="CourierWebserviceRepositoryProvider" visible="true">
<url>http://yourOtherWebsiteDomain.local</url>
<user>0</user>
</repository>

or this if you need to set credentials

<repository name="Name of repo" alias="repo1" type="CourierWebserviceRepositoryProvider" visible="true">
 <url>http://yourOtherWebsiteDomain.local</url>
 <login>admin</login>
<password>1234</password>
<passwordEncoding>Hashed||Clean</passwordEncoding>
</repository>

Upvotes: 1

Related Questions