Spark Hackathon
# contributing
l
Good morning Spark Hackathoners - both people in the room and on their way! Let's use this thread to talk to each other today. We'll be doing a quick introduction at the far end of the room at 10am. Coffee is in the kitchen!
w
Oh Hai 👋 I'm Warren sitting on a train into Brizzle. Been using Umbraco since the days of the yahoo mailing list (so far too long, but still here you can't get rid of me easily)) Looking to get my hands dirty as much as possible and give some feedback to Jacob & HQ team on the new V14 Belissima beta 🙂 See you about about 11 I reckon...
Not sure if just me - but with Beta001. I have created a new doctype (it didn't create a template for me) and when I manually create one and link it to doctype etc and then trying viewing the node I get a Page Not Found. Just me or anyone else?!
OK as content node was created before template was created it did not have the template explicitly picked on the content node itself 🙈
And as it doesn't auto stub the template for you. Remember to set your Inherits to something similar
@inherits UmbracoViewPage<Home>
l
Hackathon Project Board to find inspiration for today: https://github.com/umbraco-community/spark-hackathon-2024 Please add a comment against things you're going to work on, and see if there are other people wanting to join you!
^^ actually that's the repo home page, but there is a link to the Project Board from there!
s
For a very quick start installing v14 beta1:
Copy code
dotnet new install Umbraco.Templates::14.0.0-beta001 --nuget-source https://www.myget.org/F/umbracoprereleases/api/v3/index.json

dotnet new umbraco --force -n "MyProject" --friendly-name "Test" --email "test@test.com" --password 'test123456' --development-database-type LocalDB && dotnet run --project "MyProject"
This will make a new directory
MyProject
and install and run the beta. Username/pass:
test@test.com
/
test123456
👆 this also avoids adding our prereleases feed as a global nuget feed. I don't like having it in there globally as I accidentally pick the wrong things, there's also a nightly feed and I always get things mixed up with global feeds. By the way, you can still put a nuget.config in the root of your site to get updates later on, should look like this:
Copy code
xml
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />    
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="myget nightly" value="https://www.myget.org/F/umbracoprereleases/api/v3/index.json" />
  </packageSources>

  <activePackageSource>
    <add key="All" value="(Aggregate source)" />
  </activePackageSource>
  
</configuration>
This also is only local to that project, so not installing a feed globally.
o
Addiontal note - if running Visual Studio, you will need a version higher than 17.7.3 so 17.8.7 is the latest
s
Use Rider! 😉
w
Yep and you will .NET SDK8
o
c
Quite impressed not to have more problems getting an existing Umbraco 13.1 project with a large number of nodes (>7000 content and 40000 media) mostly running on Umbraco 14 Beta. Indeed if it helps save some people some time most of the issues seemed to stem from where I'd taken the older UI Builder and uSync packages out for the time being. I'm used to Visual Studio Clean actually cleaning the dlls out, but apparently it decided to leave those ones in the bin folder resulting in spurious complaints about missing packages and ambiguous references on run. So yeah, if you do take them out, you may have to manually clean out the compilation folder too, don't trust VS!
j
We're looking forward to welcoming you all to the Umbraco Spark Pre-Party tonight! 🎉 (We've added some more spaces, so hope to see even more of you there! - Or just turn up!) https://www.meetup.com/umbristol/events/298926853/
2 Views