Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rigel Kent
package-debian-peertube
Commits
4ef978e1
Unverified
Commit
4ef978e1
authored
Mar 11, 2019
by
Rigel Kent
☕
Browse files
update to 1.2.1 with working remote tools
parent
3070768b
Changes
3
Hide whitespace changes
Inline
Side-by-side
peertube
0 → 100755
View file @
4ef978e1
#!/bin/sh
/usr/bin/node /var/www/peertube/dist/server/tools/peertube.js
$@
post-install
View file @
4ef978e1
...
...
@@ -9,7 +9,7 @@ case "$1" in
configure
)
(
cd
/var/www/peertube
yarn
install
--production
--pure-lockfile
yarn
install
--pure-lockfile
chown
peertube:
-R
/var/www/peertube
)
if
[
-z
"
$2
"
]
;
then
...
...
@@ -37,6 +37,8 @@ echo "Bear in mind you still need to copy and edit the config file:"
echo
" sudo cp /etc/production.yaml /etc/production.yaml.example"
echo
' sudo $EDITOR /etc/production.yaml'
echo
""
echo
"You also need to start services peertube.service depends on (postgresql, redis)"
echo
""
echo
"PeerTube does NOT start automatically!"
echo
"Please run the following commands if you want to start PeerTube automatically on system boot:"
echo
" sudo systemctl enable peertube.service"
...
...
recipe.rb
View file @
4ef978e1
...
...
@@ -7,8 +7,8 @@ class PeerTube < FPM::Cookery::Recipe
revision
0
homepage
'https://joinpeertube.org/'
source
'https://github.com/Chocobozzz/PeerTube'
,
:with
=>
'git'
,
:tag
=>
'v1.2.1'
:with
=>
'git'
,
:tag
=>
'v1.2.1'
arch
'amd64'
license
'AGPL-3.0'
...
...
@@ -23,7 +23,7 @@ class PeerTube < FPM::Cookery::Recipe
depends
'nodejs (>= 8)'
,
'ffmpeg (>= 3)'
,
'openssl'
,
'postgresql'
,
'redis-server'
,
'yarn (>= 1.5.1)'
,
'git'
,
'g++ (>= 5.0)'
,
'make'
section
'web'
end
provides
'peertube'
replaces
'peertube'
conflicts
'peertube'
...
...
@@ -34,7 +34,7 @@ class PeerTube < FPM::Cookery::Recipe
post_uninstall
'post-uninstall'
def
build
sh
'yarn install'
sh
'yarn install
--pure-lockfile
'
sh
'npm run build'
Dir
.
glob
(
'**/*'
).
reject
{
|
k
|
[
"CREDITS.md"
,
"LICENSE"
,
"client/dist/"
,
"client/package.json"
,
"dist"
,
"scripts"
,
"tsconfig.json"
,
"FAQ.md"
,
...
...
@@ -56,6 +56,12 @@ class PeerTube < FPM::Cookery::Recipe
# default site
var
(
'www/peertube'
).
install
Dir
[
'*'
]
# documentation
share
(
'doc/peertube'
).
install
Dir
[
'support/doc/*'
]
# remote tools (https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/tools.md#remote-tools)
bin
.
install
'peertube'
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment