datopian / flowershow

💐 Publish your obsidian digital garden or any markdown site easily and elegantly.
https://flowershow.app/
MIT License
848 stars 100 forks source link

Quickstart Howto for Using Flowershow as website template #586

Open rufuspollock opened 1 year ago

rufuspollock commented 1 year ago

From @olayway in a thread on discord

  1. clone the repo
  2. add any of your markdown files to /content folder
  3. run npm run dev or npm run export && npm run start
  4. (optional) configure your site with /content/config.mjs file (see available options here: https://flowershow.app/docs/config and in feature specific docs pages https://flowershow.app/docs)
  5. (optional) If you want to embed assets, you need to put them in some folder iside the /content folder (e.g. /content/assets) and create a symlink to that folder in /public under the same name (here assets)

NB: we have this old (may be a bit out of date) tutorial https://flowershow.app/blog/2023-02-16-nextjs-tutorial

Acceptance

davidgasquez commented 1 year ago

Would be cool to run Flowershow from npm a la Astro/Eleventy/Evidence (npm create astro/eleventy/evidence@latest && npm run dev). Smooth way to get something up without messing with git!

EDIT: The command I'm looking for might be already in the docs!

npx create-next-app@latest --example https://github.com/datopian/flowershow
rufuspollock commented 1 year ago

@davidgasquez yes i think that command should "just work". So maybe we just need to document that really clearly ...