Strapi - Open source Node.js Headless CMS to easily build customisable APIs
-
@edapm I've pushed the latest version which has various updates (.ie. latest base image and such) and basically it works, the only 2 things that make problems are email and the slugify feature from node.js.
Here's the repo where you can check it out: https://git.cloudron.io/msbt/strapi-app
After you've built and installed it, you have to run
/usr/local/bin/gosu cloudron:cloudron yarn build
in the terminal to build the adminpanel, this step can be added to the start.sh as well, but I wanted to do it manually for the time being, because it takes quite a while on slower machines. Talking of which: this step requires 2,5GB+ RAM, so make sure your machine has plenty available. After that you can create an admin user.Email:
- When I try to use SMTPS, it says
error Error: Couldn't send test email: Greeting never received.
- When using SMTP:
error Error: Couldn't send test email: Mail command failed: 550 Authenticated user strapi.app@example.com cannot send mail as .
As for the slugify issue: I followed the tutorial from here to dynamically create slugs for collections, but as soon as I edit the modelname.js in /api/collectionname/models/ and add
const slugify = require('slugify');
, strapi crashes withError: Cannot find module 'slugify'
even though it's in node_modules and referred to from other places - no idea why, if I build strapi on an empty machine with just a few commands, it works without any issues:apt update curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - apt-get install -y nodejs npm install --global yarn yarn create strapi-app cloudron --quickstart --no-run cd cloudron/ yarn add pg slugify strapi-provider-email-smtp yarn strapi install email documentation graphql yarn build yarn develop
So if you don't need email or slugs, you're good to go
- When I try to use SMTPS, it says
-
Ok I just realized that strapi already has a built in slug-system, so that solution I was working on was already obsolete (there's a UID field available which can take any other field and slugify it properly). This means the only thing that's missing is email
-
Cool! I'm curious to see how it stacks up to the node version of Directus. Definitely going to give it a shot.
-
-
-
Since finding cloudpanel.io, a part of me is wondering if it would be better for people to use something like that for Dev Ops, where it's already done, and the general focus of that platform:
And, Cloudron focuses more on Personal Productivity & Business Ops apps, for now at least.
Strapi looks great, but I bet something like Cal.com or tldraw.com being packaged would give everyone here more value. Best of both worlds from platforms each focused on what they do best, and have most existing users asking for.
-
@philkunz not worked on this yet.
Anyone know how this compares to Directus?
-