hedgedoc #186

Merged
mgauthier merged 4 commits from hedgedoc into unstable 2024-06-12 21:53:44 +02:00
2 changed files with 10 additions and 4 deletions
Showing only changes of commit e787d62926 - Show all commits

View file

@ -1,9 +1,9 @@
---
# defaults file for mastodon
system_dep: "['apt-transport-https', 'postgresql', 'python3-psycopg2', 'nginx', 'git', 'wget', 'certbot']"
system_dep: "['apt-transport-https', 'postgresql', 'python3-psycopg2', 'nginx', 'git', 'wget', 'certbot', 'npm']"
git_url: 'https://github.com/hedgedoc/hedgedoc.git'
git_version: '1.9.7'
node_version: 'node_16.x' # Node 18 is NOT supported as of May 2023; See https://docs.hedgedoc.org/setup/manual-setup/
node_version: 'node_18.x' # Node 18 is NOT supported as of May 2023; See https://docs.hedgedoc.org/setup/manual-setup/
node_port: '3000'
service: 'example'
domains: ['example.domain.org']

View file

@ -7,10 +7,16 @@
update_cache: yes
- name: Install node-gyp from npm
shell: npm install --global node-gyp
shell: npm install --global node-gyp corepack
- name: Enable yarn (via corepack)
shell: "corepack enable; yarn set version classic"
shell: "corepack enable"
- name: Fix permissions
file:
path: /usr/local/lib/node_modules
mode: g+rx,o+rx
recurse: yes
- name: Add UNIX account
user: