How to setup Social-Links Locally for development?
# help-with-umbraco
a
For contributions and development, how can we setup the Social Links on a Mac?
l
(for the context of others, this is related to the Contentment package's Social Links property editor - as part of a #885545259596120164 contribution) Hi @asteroid20_, how far have you got with the setup? As in, do you have an Umbraco site ready with the Contentment package installed? or have you encountered a specific error? Just to note, that I don't have a Mac, so I'm not fully aware if there are specific issues/bugs with Umbraco or Contentment on Mac/Linux (yet).
The approach I would take for Hacktoberfest, would be to use one of the Umbraco demo sites that are part of Contentment's GitHub repository, e.g. the Umbraco v12 demo site would be ideal. That way, if you edit any of the core Contentment code, you will be able to build/compile the code and it should automatically update the v12 demo site. (I say "should", just in case of any unexpected bugs/issues with the setup on the Mac).
In terms of code changes for the Twitter/X icon PR... I've done one for Discord earlier today, if that helps give you any tips? https://github.com/leekelleher/umbraco-contentment/pull/351/files
a
Thanks for the assistance. I had actually made such similar to the PR, for twitter. But I'd like to check the same locally before I make a pr.
I couldn't find any exact documentation for the local setup so I'm at sq. 1 🥲
I'm a beginner so can you help me with the Demo site, if not local?
l
Sure thing, the demo site is part of Contentment's GitHub repository, so when you fork/clone it, you should be able to run it locally. https://github.com/leekelleher/umbraco-contentment/tree/develop/src/Umbraco.Cms.12.x It should be a case of running
dotnet run
in that directory. (All the CMS content/schema should auto-restore itself on build). I hope this helps?
a
I have installed Umbraco with this command-
Copy code
dotnet add package Umbraco.Community.Contentment
But i don't know how to start the dev server?
a
3 Views