Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Project websites powered by Sveltekit + @tomic/svelte + Atomic-Server

License

NotificationsYou must be signed in to change notification settings

ontola/atomic-argu

Repository files navigation

  • Based onatomic-sveltekit-demo
  • Community / project websites
  • Content can be easily managed using the Atomic-Server CMS
  • Includes import scripts to convert Argu.co JSON exports to JSON-AD
  • Look & feel similar based on the Argu.co community platform

Example sites:

Architecture & multi-page deploy

This repository is used for creating a bunch of different websites.Each of these websites uses data that is hosted on Atomic-Server.

Launching a website and managing content

  • Create a new drive on Atomic Server.
    • Create a newArgu Site. This serves as an entrypoint.
    • make sure the site is publicly available: context menu, share, public, save.
  • When migrating from Argu
    • Download an export using Argu's export feature
    • Unzip and save to.src/lib/data-{name}
    • Open the ASA (Atomic Svelte Argu) app locally, you'll see an import button
    • Create a new Drive on Atomic Server, paste it to a new config insiteConigs.ts, use thedrive url as root
    • Run this repopnpm dev and visitlocalhost
    • Press the import button. Magic happens. Checkt the console for errors. If you encounter CORS stuff, install a browser extension that allows you to bypass CORS.
    • You might need to restart the local front-endpnpm dev
  • Managing content
    • Invite people to edit the drives
    • Instruct how to addArticle (Article Collection?)

Data

The./data-export folder contains an export containing the current content.It may be useful during development to use as a data source.Probably beats copy-pasting.

Dev info

Developing

pnpm ipnpm dev

Test prerender

Setorigin insvelte.config tolocalhost

Building static pages

pnpm build

Deploy using Netlify

  • Install netlify clipnpm install netlify-cli -g
  • Authenticatenetlify login
  • Run locally, testnetlify dev
  • Create sitenetlify unlink && netlify sites:create
  • Deploynetlify deploy --build -s <site-name>

[8]ページ先頭

©2009-2025 Movatter.jp