Hello, I'm Crucio.
A budding writer, screenwriter and junior developer, documenting myself as a loser. This is where books, code and everyday observations come together.
片刻
2天在豆包+codebuddy两个智能体的帮助下,将博客从WordPress转到Astro+Directus+Minio框架。
普通人要想成功,就需要自身的执行闭环快,也就是干活快。
感觉博客搭建的框架还是不太好,原本的服务器都是裸安装的nginx和wordpress,我觉得从头到尾,全部格式化,然后从新安装博客。采用Astro + Payload3 + Postgres 全套自托管(Docker + Nginx + CI/CD + Git 分离)方案。可以随时更换前端的博客主题,编写内容也方便,适合前期复杂后期自动化的需求。
使用nginx处理dist的方式部署的博客是静态的博客,不会实时获取接口的数据。所以还是要进行修改,将静态的转换为动态的,并且要设置好跨域的CORS
新增了astro+directus+postgresql的框架架构搭建的博客,已经初步完成并发布。还有些细节上的文字描述需要打磨,以及astro项目修改后还需要手动将压缩包上传到服务器,效率慢。之后优化吧。
活在当下,不惜以往,不赌未来。
Latest writing
Have something in mind?
Questions, ideas, or just a good book to recommend — my inbox is open.
Hello, I'm Crucio.
A budding writer, screenwriter and junior developer, documenting myself as a loser. This is where books, code and everyday observations come together.