1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snweb_ynh.git synced 2024-09-03 20:26:22 +02:00

Update to 3.6.2

This commit is contained in:
Fabian Wilkens 2021-03-14 16:24:54 +01:00
parent 77f06174f8
commit 1121a66f89
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB
7 changed files with 28 additions and 25 deletions

View file

@ -13,7 +13,7 @@ A safe and private place for your life's work.
Standard Notes is a simple and private notes app available on most platforms, including Web, Mac, Windows, Linux, iOS, and Android. It focuses on simplicity, and encrypts data locally before it ever touches a cloud. This means no one can read your notes but you (not even us). Standard Notes is a simple and private notes app available on most platforms, including Web, Mac, Windows, Linux, iOS, and Android. It focuses on simplicity, and encrypts data locally before it ever touches a cloud. This means no one can read your notes but you (not even us).
**Shipped version:** 3.5.11 **Shipped version:** 3.6.2
* Apps available for free. https://standardnotes.org/ * Apps available for free. https://standardnotes.org/
* Desktop (Windows, Mac, Linux) * Desktop (Windows, Mac, Linux)
* Mobile (Android and iOS) * Mobile (Android and iOS)

View file

@ -7,7 +7,6 @@ Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
EnvironmentFile=__FINALPATH__/live/.env EnvironmentFile=__FINALPATH__/live/.env
Environment=__ENV_PATH__
WorkingDirectory=__FINALPATH__/live/ WorkingDirectory=__FINALPATH__/live/
ExecStart=/opt/rbenv/versions/__RUBY_VERSION__/bin/bundle exec puma -C config/puma.rb -p __PORT__ -e production ExecStart=/opt/rbenv/versions/__RUBY_VERSION__/bin/bundle exec puma -C config/puma.rb -p __PORT__ -e production
StandardOutput=append:/var/log/__APP__/snweb.log StandardOutput=append:/var/log/__APP__/snweb.log

View file

@ -5,21 +5,19 @@
"description": { "description": {
"en": "The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android." "en": "The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android."
}, },
"version": "3.5.11~ynh1", "version": "3.6.2~ynh1",
"url": "https://github.com/standardnotes/web", "url": "https://github.com/standardnotes/web",
"license": "free", "license": "AGPL-3.0-or-later",
"maintainer": { "maintainer": {
"name": "Fabian Wilkens", "name": "Fabian Wilkens",
"email": "wilkens.fabian+github@gmail.com", "email": "46000361+FabianWilkens@users.noreply.github.com"
"url": "https://github.com/FabianWilkens/snweb_ynh"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.0" "yunohost": ">= 4.0"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx"
"mysql"
], ],
"arguments": { "arguments": {
"install" : [ "install" : [

View file

@ -13,10 +13,10 @@ pkg_dependencies="\
" "
RUBY_VERSION="2.7.2" RUBY_VERSION="2.7.2"
NODEJS_VERSION="10" NODEJS_VERSION="15.11.0"
SOURCE="https://github.com/standardnotes/web" SOURCE="https://github.com/standardnotes/web"
COMMIT="31676f1cc61898147b363d442593870ae880d3e5" COMMIT="22da9ea942dbb9f7fe66af0bf43290b06b7fb482"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -142,11 +142,13 @@ chown -R $app: "$final_path"
pushd "$final_path/live" pushd "$final_path/live"
git submodule update --init --recursive --quiet git submodule update --init --recursive --quiet
ynh_use_nodejs ynh_use_nodejs
exec_as $app $ENV_PATH $ynh_npm --loglevel=error ci /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle config set --local path 'vendor/bundle'
exec_as $app $ENV_PATH $ynh_npm --loglevel=error run bundle exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --quiet
exec_as $app $ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet exec_as $app $ENV_PATH yarn install --pure-lockfile
exec_as $app $ENV_PATH yarn bundle
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
popd popd
#================================================= #=================================================

View file

@ -103,11 +103,13 @@ chown -R $app: "$final_path"
pushd "$final_path/live" pushd "$final_path/live"
git submodule update --init --recursive --quiet git submodule update --init --recursive --quiet
ynh_use_nodejs ynh_use_nodejs
exec_as $app $ENV_PATH $ynh_npm --loglevel=error ci /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle config set --local path 'vendor/bundle'
exec_as $app $ENV_PATH $ynh_npm --loglevel=error run bundle exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --quiet
exec_as $app $ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet exec_as $app $ENV_PATH yarn install --pure-lockfile
exec_as $app $ENV_PATH yarn bundle
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
popd popd
#================================================= #=================================================

View file

@ -173,11 +173,13 @@ then
pushd "$final_path/live" pushd "$final_path/live"
git submodule update --init --recursive --quiet git submodule update --init --recursive --quiet
ynh_use_nodejs ynh_use_nodejs
exec_as $app $ENV_PATH $ynh_npm --loglevel=error ci /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/gem install bundler --quiet /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet
env PATH=$ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundler install --quiet exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle config set --local path 'vendor/bundle'
exec_as $app $ENV_PATH $ynh_npm --loglevel=error run bundle exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --quiet
exec_as $app $ENV_PATH /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet exec_as $app $ENV_PATH yarn install --pure-lockfile
exec_as $app $ENV_PATH yarn bundle
exec_as $app /opt/rbenv/versions/$RUBY_VERSION/bin/bundle exec rails assets:precompile --quiet
popd popd
fi fi