Grist

De Reliable Brain

Installation sur Debian 11

Prérequis

apt install curl sudo gnupg2

Installer YARN

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

Installer NodeJS

sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=18
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs -y

Installer Grist

yarn install
yarn run build:prod
yarn run install:python
yarn start
  1. Grist will be available at http://localhost:8484/

Paramètres

Selon https://github.com/gristlabs/grist-core/?tab=readme-ov-file DEBUG=1 TYPEORM_DATABASE=gristdb TYPEORM_HOST=postgresql-server.cahuet.com TYPEORM_PASSWORD=<mot de passe compte grist> TYPEORM_TYPE=postgres TYPEORM_USERNAME=grist GRIST_UI_FEATURES=helpCenter,templates,createSite,multiSite,multiAccounts,tutorials GRIST_SUPPORT_EMAIL=<email d'admin>