AndyButland / UmbracoPersonalisationGroups

Package for personalisation of content with Umbraco.
MIT License
38 stars 18 forks source link

Add a Nuget Package #3

Closed JimBobSquarePants closed 9 years ago

JimBobSquarePants commented 9 years ago

It's the new rock n' roll! :guitar:

This looks great and I want to use it for everything I write.

If the assembly was installable as a Nuget package that would mean I could install it in a project with the following setup and have the website simply inherit the references. nuPickers works a treat with this so maybe they have code you can borrow.

|__ Site.Logic 
|
|__Site

That would be awesome! :smile:

AndyButland commented 9 years ago

Thanks James! I use a similar set-up so that would work for me too - but the package installs a couple of document types and data types too. Not aware of a way to NuGet those - do you know of anything I've missed there?

Even if not, a NuGet of the dll and some manual steps for setting up the doc and data types would be good I agree.

JimBobSquarePants commented 9 years ago

Yeah, document types are a sticky one. I don't currently know of any way to install them other than by the installer. Maybe it's possible on app start using the content service?

If not, yeah, if you packaged up the doc/datatypes in a zipfile and passed that as content with instructions to install I would be more than happy with that.

JimBobSquarePants commented 9 years ago

Thinking about this again it's certainly possible to create content and data types using the services. Whether it's worth all the typing I don't know.

AndyButland commented 9 years ago

Yes, I think probably I'll make a Nuget package, but for people that want to use that, just have the install process be:

That way all upgrades can be made via NuGet.

As you say could work with the services, but at minimum it means an extra start-up check see if the are already there, so that might be a reason to avoid.

JimBobSquarePants commented 9 years ago

Sounds good to me. :+1:

AndyButland commented 9 years ago

This has been set up now:

PM> Install-Package UmbracoPersonalisationGroups