Skip to content

Files

Latest commit

e41cab7 · Aug 24, 2024

History

History
67 lines (48 loc) · 2.17 KB

README.md

File metadata and controls

67 lines (48 loc) · 2.17 KB

PauseIA.fr website

SvelteKit website for PauseIA.fr.

Creating articles

Create a new markdown file in src/posts/

Add a title, date and a description using frontmatter (optional, but recommended):

---
title: This will be shown as title in the browser / share previews / google results
description: This will be the description in the share previews / google results
date: '2023-4-14'
---

Here goes the content of the article.

Create a fork / open a pull request (follow the on screen instructions!)

The article will be published automatically when the pull request is merged.

Running locally (Linux)

  1. install nvm.
  2. install pnpm with corepack.
  3. Run:
git clone [email protected]:moiri-gamboni/pauseai-france.git
nvm install
# Copy the envs and set the variables if needed
cp template.env .env
pnpm install
pnpm run dev
# Open http://localhost:37572

Running locally (Windows)

  1. install nvm for windows.
  2. install pnpm.
  3. Run with elevated privilege :
git clone [email protected]:moiri-gamboni/pauseai-france.git
nvm install lts
nvm use lts
# Copy the envs and set the variables if needed
cp template.env .env
pnpm install
pnpm run dev
# Open http://localhost:37572

Note: While SvelteKit implements "Zero-effort type safety", the eslint-typescript plugin hasn't implemented this feature (see issue #413) so you might see type inference errors in VSCode. When in doubt you can run pnpm check which will use SvelteKit features.

Deployment

The contents of the repository are continuously deployed to Netlify. You can track the deployment status here.

Attribution

You can find all pages which have been translate from PauseAI (Global) in /TRANSLATIONS.md