Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Last active August 12, 2023 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuc-arc-f/4ed3c65a04e7dcbf86a5c37da26cd73b to your computer and use it in GitHub Desktop.
Save kuc-arc-f/4ed3c65a04e7dcbf86a5c37da26cd73b to your computer and use it in GitHub Desktop.
install-doc-kit1_29cms

install-doc-kit1_29cms

  • API serverは、複数サイトに対応しています。
  • ローカル、sveltekit CMS追加手順となります。

Login

  • /login を開きます

  • User Create ボタンを押し、mail , password等入力

  • /login 画面から、ログインします


Site追加

  • /admin を開き、ヘッダの siteリンク押します

  • site 画面から、createボタン押し。サイト名を入力、登録

  • site 画面に、追加サイトのIDをメモします。


site IDの、設定

  • .env の、PUBLIC_SITE_IDに、上記サイトIDを設定します
  • PUBLIC_API_URL: API Server-URL
  • PUBLIC_API_KEY: API Serverに設定したKEY
PUBLIC_SITE_ID=5
PUBLIC_SYSTEM_NAME = "kit1_29cms"
PUBLIC_API_URL=https://hoge
PUBLIC_API_KEY="123"

編集

  • /adminが、編集HOMEになります
  • post(投稿), category, pages(固定ページ) が編集可能です。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment