« Grist » : différence entre les versions
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
== Installation sur Debian | == Installation sur Debian 12 == | ||
=== Prérequis === | === Prérequis === | ||
=== Installer YARN via NVM === | |||
=== Installer YARN === | 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 === | === Installer Grist === | ||
git clone https://github.com/gristlabs/grist-core.git | |||
cd grist-core/ | |||
yarn install | yarn install | ||
yarn run build:prod | yarn run build:prod | ||
yarn run install:python | yarn run install:python | ||
yarn start | 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 == | == Paramètres == | ||
Selon https://github.com/gristlabs/grist-core/?tab=readme-ov-file | Selon https://github.com/gristlabs/grist-core/?tab=readme-ov-file | ||
DEBUG=1 | |||
TYPEORM_DATABASE=gristdb | DEBUG=1 | ||
TYPEORM_HOST=postgresql-server.cahuet.com | TYPEORM_DATABASE=gristdb | ||
TYPEORM_PASSWORD=<mot de passe compte grist> | TYPEORM_HOST=postgresql-server.cahuet.com | ||
TYPEORM_TYPE=postgres | TYPEORM_PASSWORD=<mot de passe compte grist> | ||
TYPEORM_USERNAME=grist | TYPEORM_TYPE=postgres | ||
GRIST_UI_FEATURES=helpCenter,templates,createSite,multiSite,multiAccounts,tutorials | TYPEORM_USERNAME=grist | ||
GRIST_SUPPORT_EMAIL=<email d'admin> | GRIST_UI_FEATURES=helpCenter,templates,createSite,multiSite,multiAccounts,tutorials | ||
GRIST_SUPPORT_EMAIL=<email d'admin> |
Dernière version du 11 février 2024 à 03:36
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>