Compare commits

...

3 commits

Author SHA1 Message Date
anmol26s df340949a8 Add path in systemd environment 2018-09-28 18:35:49 +05:30
anmol26s 030d06442b Add path in systemd environment 2018-09-28 17:17:15 +05:30
anmol26s 6d2b9bfca3 Upgrade to version 1.0.0-beta.14 2018-09-26 21:08:24 +05:30
5 changed files with 10 additions and 9 deletions

View file

@ -4,7 +4,7 @@
[![Install Peertube with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=peertube)<br><br> [![Install Peertube with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=peertube)<br><br>
======= =======
Shipped Version: **1.0.0-beta.13** Shipped Version: **1.0.0-beta.14**
## What is Peertube ? ## What is Peertube ?

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.13/peertube-v1.0.0-beta.13.tar.xz SOURCE_URL=https://github.com/Chocobozzz/PeerTube/releases/download/v1.0.0-beta.14/peertube-v1.0.0-beta.14.tar.xz
SOURCE_SUM=d23ebad3d1348a8fdf6ccaff81c16849045574578656ab7e676d4580c2da7383 SOURCE_SUM=10e30233bd31e765b117b1f9b6767c6d5376e928aefa219df30183b47674be8e
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.xz SOURCE_FORMAT=tar.xz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -4,11 +4,12 @@ After=network.target postgresql.service redis-server.service
[Service] [Service]
Type=simple Type=simple
Environment="PATH=__ENV_PATH__"
Environment=NODE_ENV=production Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=__FINALPATH__/config Environment=NODE_CONFIG_DIR=__FINALPATH__/config
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
ExecStart=/bin/sh -c 'PATH=/opt/node_n/bin:$PATH exec npm start' ExecStart=/bin/sh -c 'exec npm start'
WorkingDirectory=__FINALPATH__/ WorkingDirectory=__FINALPATH__/
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog

View file

@ -5,7 +5,7 @@
"description": { "description": {
"en": "Video streaming platform using P2P directly in the web browser, connected to a federated network" "en": "Video streaming platform using P2P directly in the web browser, connected to a federated network"
}, },
"version": "1.0.0-beta.13", "version": "1.0.0-beta.14",
"url": "https://github.com/Chocobozzz/PeerTube", "url": "https://github.com/Chocobozzz/PeerTube",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": { "maintainer": {

View file

@ -141,10 +141,10 @@ ynh_setup_source "$final_path"
cp ../conf/production.yaml "$final_path/config/production.yaml" cp ../conf/production.yaml "$final_path/config/production.yaml"
touch "$final_path/config/local-production.json" touch "$final_path/config/local-production.json"
(
cd "$final_path"
yarn install --production --pure-lockfile cd "$final_path" && yarn install --production --pure-lockfile
)
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION