Grist

De Reliable Brain

Installation sur Debian 12

Prérequis

Installer YARN via NVM

apt update
apt upgrade
apt install git python3.11-venv
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
source ~/.bashrc
nvm install 18
npm install -g yarn

Installer Grist

git clone https://github.com/gristlabs/grist-core.git
cd grist-core/

yarn install
yarn run build:prod
yarn run install:python
yarn start

Lancer Grist

IL faut d'abord paramétrer

nano .env
GRIST_HOST=0.0.0.0

Puis on lance enfin :

export $(cat .env) && yarn start

Sources

YARN : https://www.linuxcapable.com/how-to-install-yarn-on-debian-linux/

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>