devmode
CraftCMS
devmode | CraftCMS | |
---|---|---|
1 | 45 | |
85 | 3,156 | |
- | 0.2% | |
5.5 | 10.0 | |
5 months ago | 7 days ago | |
Twig | PHP | |
MIT License | proprietary |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
devmode
-
Deploy Craft CMS with DDEV, Deployer and Ploi on Hetzner Cloud - Part 1
// Fork of https://gist.github.com/mtwalsh/fce3c4aa416996e5900e8ac9f471dd6c, thanks! // TODO: use full automated approach later https://t3terminal.com/blog/typo3-gitlab-deployment/ // TODO: use vite namespace Deployer; require 'recipe/common.php'; // Project name set('application', 'traintolake.mandrasch.dev'); // Project repository // See: https://blog.harveydelaney.com/configuring-multiple-deploy-keys-on-github-for-your-vps/ set('repository', 'repo-train-to-lake:mandrasch/train-to-lake-craftcms.git'); // If you have only one deploy key, just use // set('repository', '[email protected]:enovatedesign/project.git'); // Shared files/dirs between deploys set('shared_files', [ '.env' ]); set('shared_dirs', [ 'storage' ]); // Writable dirs by web server set('writable_dirs', [ 'storage', 'storage/runtime', 'storage/logs', 'storage/rebrand', 'public/cpresources', // added by myself 'public/media-files' ]); // TODO: do we need it? // Set the worker process user // set('http_user', 'worker'); // Set the default deploy environment to production set('default_stage', 'production'); // TODO: is this needed? // Disable multiplexing set('ssh_multiplexing', false); // Tasks // TODO: add this later // Upload build assets task('upload', function () { upload(__DIR__ . "/public/assets/", '{{release_path}}/public/assets/'); //upload(__DIR__ . "/public/service-worker.js", '{{release_path}}/public/service-worker.js'); }); // TODO: this is in tasks? desc('Execute migrations'); task('craft:migrate', function () { // TODO: Steps from https://github.com/nystudio107/devmode/blob/develop/buddy.yml#L94 run('{{release_path}}/craft off --retry=60'); // - "# Backup the database just in case any migrations or Project Config changes have issues" // - "php craft backup/db" ? // - "# Run pending migrations, sync project config, and clear caches" run('{{release_path}}/craft clear-caches/all'); run('{{release_path}}/craft migrate/all'); // originally: run('{{release_path}}/craft up'); // - "# Turn Craft on" run('{{release_path}}/craft on'); })->once(); // Hosts // Production Server(s) host('production') ->set('remote_user', 'ploi') ->set('hostname', '162.55.187.201') ->set('deploy_path', '~/train-to-lake.mandrasch.dev'); /*host('110.164.16.59', '110.164.16.34', '110.164.16.50') ->set('deploy_path', '/websites/{{application}}') ->set('branch', 'master') ->stage('production') ->user('someuser'); // Staging Server host('192.168.16.59') ->set('deploy_path', '/websites/{{application}}') ->set('branch', 'develop') ->stage('staging') ->user('someuser'); */ // Group tasks desc('Deploy your project'); task('deploy', [ // 'deploy:info', --> THIS IS INCLUDED IN PREPARE in v7 'deploy:prepare', // 'deploy:lock', --> THIS IS INCLUDED IN PREPARE in v7 //'deploy:release', --> THIS IS INCLUDED IN PREPARE in v7 // 'deploy:update_code', --> THIS IS INCLUDED IN PREPARE in v7 // TODO: re-add later // 'upload', // Custom task to upload build assets // 'deploy:shared', -> --> THIS IS INCLUDED IN PREPARE in v7 // 'deploy:writable', -> --> THIS IS INCLUDED IN PREPARE in v7 'deploy:vendors', 'deploy:clear_paths', // 'deploy:symlink', --> THIS IS INCLUDED in publish // 'deploy:unlock', --> THIS IS INCLUDED in publish 'deploy:publish', // 'deploy:cleanup', --> THIS IS INCLUDED in publish // 'deploy:success' --> THIS IS INCLUDED in publish ]); // [Optional] Run migrations after('deploy:vendors', 'craft:migrate'); // [Optional] If deploy fails automatically unlock after('deploy:failed', 'deploy:unlock'); // Run with '--parallel' // dep deploy --parallel
CraftCMS
-
Different flavors of content management
The most typical approach is having a CMS admin panel sit somewhere on the server; everyone with an account uses this. This is a very convenient approach, especially when working with a team. This way, many people can work on different articles simultaneously without worrying about potential conflicts or overwriting stuff. The only con is related to security - everyone can try to get inside, and if you forget to update our CMS or some user have a weak password, it can be someone outside of our team. WordPress, Drupal, CraftCMS, or Ghost are perfect examples of such CMSs.
- Show HN: Primo – a visual CMS with Svelte blocks, a code editor, and SSG
-
Is Htmx Gaining in Popularity?
I checked one website in that list, it uses CraftCMS, which apparently has htmx bundled. (https://github.com/craftcms/cms/tree/main/src/web/assets/htm...)
Would be interesting to know which other CMS'es make use of htmx (and to what degree).
- Site without WordPress
-
Go with PHP
PHP has a lot of top tier CMSes. IMHO bunch of them are even better than Statamic. Craft CMS (https://craftcms.com/) is a lot more mature database based CMS. Kirby (https://getkirby.com/) is better at flat-file and has a lot better admin interface. Twill (https://twillcms.com/) is better integrated in Laravel and is fully open-source. Statamic mostly feels like it's sitting besides Laravel and they call themselves Laravel based for marketing.
-
Stack to build and deploy a fully functional personal blog?
You're basically looking for any CMS that supports headless mode. E.g. Strapi (https://strapi.io/, NodeJS based), CraftCMS (https://craftcms.com/, PHP based) or countless others.
-
SvelteKit+ MongoDB
Craft CMS
- 09
-
A mate of mine built a cool little Tottenham Database showing the history of spurs.
It's built on Craft CMS. Makes the relationships between elements (a match and a player, for example) super easy.
-
Creating a CMS with React, what should I look at?
Is there a reason you aren’t using an existing CMS? There’s a lot that provide all the UI functionality you are talking about and then expose it via a API to be consumed in your front end. https://craftcms.com is one option I’ve had good success with.
What are some alternatives?
train-to-lake-craftcms - CraftCMS Learning Project, powered by DDEV
Wagtail - A Django content management system focused on flexibility and user experience
Deployer - The PHP deployment tool with support for popular frameworks out of the box
Statamic - The official Statamic Static Site Generator
Pico - Pico is a stupidly simple, blazing fast, flat file CMS.
Backdrop CMS - Backdrop is a full-featured content management system that allows non-technical users to manage a wide variety of content. It can be used to create all kinds of websites including blogs, image galleries, social networks, intranets, and more.
Kirby - Kirby's core application folder
october - Self-hosted CMS platform based on the Laravel PHP Framework.
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
Guzzle - Guzzle, an extensible PHP HTTP client
wp-graphql-jwt-authentication - Authentication for WPGraphQL using JWT (JSON Web Tokens)
next.js - The React Framework [Moved to: https://github.com/vercel/next.js]