diff --git a/manifest.toml b/manifest.toml index fd95580..426ae19 100644 --- a/manifest.toml +++ b/manifest.toml @@ -51,7 +51,7 @@ ram.runtime = "2G" main.default = 3020 [resources.apt] - packages = "ffmpeg, postgresql, build-essential, git-lfs" + packages = "ffmpeg, postgresql, build-essential, git, git-lfs" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" diff --git a/scripts/install b/scripts/install index 08e3589..8c058f6 100755 --- a/scripts/install +++ b/scripts/install @@ -70,6 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare --activate + git lfs install && git lfs pull ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production yarn build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run init