我用email id: brightmann@gmail.com+邮箱验证码登录app.notion.com
我跟instinct的对话截图如下,共5张图。
my Osmium Database Template url:
https://app.notion.com/p/9d463c580eea82d79c128187fe8c7f90
notion config page url:
https://app.notion.com/p/Config-4a563c580eea83f7ab9201c0f339607f
不过instinct在第5张截图里,对我说:这个notion config page里的"sortByDate"的值即使设为true, 也是不起作用的。它修改了lib/server/database.ts文件后,才使得博客帖子按发表的时间顺序排列。
我得到的博客地址:
https://om-stc1.onrender.com/
仓库 https://github.com/brightmann/om的代码被instinct修正了。
我用email id: ymbrite@gmail.com + 邮箱验证码登录了vercel.com,于是我也用ymbrite@gmail.com登录了github.com, 然后对https://github.com/brightmann/om进行fork, 得到项目地址https://github.com/ymbrite/om 。
我 登录了vercel.com后,访问vercel.com/new, 导入项目https://github.com/ymbrite/om 。在输入命令的栏里,输入:
pnpm build
pnpm install
在environment variables处,输入环境变量NOTION_DATABASE_ID ,其值设为
9d463c580eea82d79c128187fe8c7f90
然后点击底部的deploy按钮,等待部署完成。部署完成后,我得到网址https://om-zeta-teal.vercel.app/
项目地址:
https://github.com/osmium-blog/osmium
https://github.com/brightmann/om
https://github.com/ymbrite/om
博客地址:
https://om-stc1.onrender.com/
https://om-zeta-teal.vercel.app/





No comments:
Post a Comment