akvadrako / site-xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wall to Wall Site

TODO

  • tailwind
  • sitemap
  • catch errors globally?
  • monitoring
  • analytics
  • comments?

TOC

static

  • admin
    • config.yml -- CMS config
    • index.html -- CMS entrypoint
  • favicon.png
  • uploads
    • CMS-editable images

src

  • routes
    • *.md -- CMS-editable mdsvex files
  • comp
    • *.svelte -- components
  • layouts
    • default.svelte -- default template

root

  • /netlify.toml -- config

Usage

Prereqs:

  • git LFS
  • npm

Develop locally:

npm install
npx netlify-cms-proxy-server
npm run dev -- --open
npm run build
npm run preview

Deploy:

  • git commit

Technical Intro

Style

Mdsvex

i18n

Related

Netlify

One-time Setup

Docs

Netlify

  1. Go to Settings > Identity, and select Enable Identity service.
  • Under Registration preferences, Invite-Only
  • External Providers -> Github -> One Click Login
  1. Services > Git Gateway -> Enable Git Gateway.

In repo

netlify link
netlify lm:setup
git lfs track "static/media/**"
git lfs ls-files
  1. Alternative to Git Gateway

Add Github to Access

About


Languages

Language:Svelte 62.0%Language:JavaScript 27.5%Language:CSS 8.8%Language:HTML 1.5%Language:Shell 0.2%