It'll go out, pull our code from GitHub, download it. NPM install, run a build script, npm run wpe-build is the script that it runs. Our site is up and running, it's good. We've given it a URL. I also attached a custom domain to it. At WPENGINE, we've been working to make headless WordPress a really great headless CMS, and part of that is improving the user experience. So we've been working through our open source framework to create a content modeler, which allows you to create content models in a much more user-friendly way.
It'll go out, pull our code from GitHub, download it. NPM install, run a build script, npm run wpe-build is the script that it runs. And once it does that, it will run next build, which will create all of our static pages and then deploy it where it will run npm start. Where we spin that up on port 8080. And then the platform knows how to run it. But once it's up and running, it will be good to go. And we'll see that that is over here building. And when it's done, we'll come back and we'll be running.
Alright, so our site is up and running, it's good. We've given it a URL. I also attached a custom domain to it. And now we can go out and check it out. So it's actually on follow-up dev, and you saw how fast that is. It's just running. It's instant. It's running static. And we also added some more functionality in here, you can check it out in the code, but we can filter by different keywords here, or different languages. And it's super fast and quick. So check that out, check out the code, check out Atlas, and let me know what you think.
Alright, before we're done, I have one more thing that I want to show you. So at WPENGINE, we've been working to make headless WordPress a really great headless CMS, and part of that is improving the user experience. You probably noticed that while we were creating those custom content types that it didn't feel very headless first. Because there are a lot of fields in there that just didn't make sense. So we've been working through our open source framework, which is out here. Make sure you star it so you can follow along on some code to create a content modeler, which I'm demoing right now. So this is the first time anyone has seen this, but it allows you to create content models in a much more user-friendly way. So we could create that same content model, so developer, developers, that we created earlier in this much better user experience. We have different fields that we can create, so we can put in our name as a text field, we can add another field for the languages, which is a repeater, so that's like an array. We can create these fields and we can create this content type in this very simple way and then we can also have a different experience for our editors, which will be coming out soon. So you can't get this yet, but make sure you follow along with our project so that you know when it is available.
Comments