Take the 2-minute tour ×
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

I want to create a basic Craft installation that I can use as my starting point. I don't want to just start with the Craft download, because there is a lot of common setup I don't want to repeat every time.

My problem is making sure I properly pay Pixel & Tonic for a new license each time I need one.

share|improve this question

3 Answers 3

up vote 6 down vote accepted

Relevant link: http://buildwithcraft.com/help/license-enforcement

But the TLDR is that purchases are tied to your craft/config/license.key file and the purchase will follow that file wherever it goes.

So as long as your replication script ignores that file, you'll get a fresh one tied to Craft Personal Edition the first time that Craft sees it's has an internet connection and you can make a new purchase.

Additionally, and regardless of edition, Craft will tie the license.key file to a domain when it thinks it's being run on a "public" domain. Here is how we determine what is public.

Even if Craft gets that wrong (maybe you develop on public staging domaina.com, but the site will ultimately be on a public domainb.com) and Craft ties the license.key file to the staging domaina.com, the worst that will happen is that when you deploy the license.key file to domainb.com, you'll get a alert in the control panel saying something to the affect of:

"This license.key file is already in use on domaina.com. Would you like to transfer it to domainb.com?"

None of the site's functionality will be affected.

share|improve this answer
4  
so a .gitignore of craft/config/license.key is all I need. Cool! –  Marion Newlevant Aug 12 at 18:48

Take a look at Jake Chapman's Craft CMS - Boilerplate on GitHub. You simply copy or clone your Craft boilerplate for each new project, and then add a newly downloaded craft/app/ folder (wich is already on the latest Craft version) with a new license.key file to it.

share|improve this answer

I have a similar issue, I have copied an existing site, started on the development. Now I'm at a point where I want to pay for a new license for the site. How do I do that, I'm thinking the best approach might be to setup a new site and buy a license for that and then copy the license file into my existing site.

share|improve this answer
    
@bradbell will know for sure, but I think what you can do is just delete the license.key file from your site copy, and Craft will know to charge you for a new license. –  Marion Newlevant Sep 8 at 23:50
    
yeah that worked thanks, at first it didn't it seemed to still think it was the old license, after restarting the site a couple of times it's worked out it doesn't have a license and I can buy a full license –  Andrew Wisener Sep 8 at 23:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.