You are not logged in.
Pre-requisites:
node version 12.18.2+ (we recommend using volta.sh or n)
build-essential package installed in your system to build dependencies
ffmpeg package installed
pm2 globally installed (npm i -g pm2) to keep the service alive at all times.
nginx installed and running
# Maintainer: Your name <your email>
pkgname=chibisafe
pkgver=3.0.0
pkgrel=1
pkgdesc="Blazing fast file uploader and awesome bunker written in node.js"
arch=('any')
url="https://github.com/chibisafe/chibisafe"
license=('MIT')
depends=('nodejs' 'npm' 'ffmpeg' 'redis' 'postgresql')
source=("git+${url}.git")
sha256sums=('SKIP')
package() {
cd "$srcdir/$pkgname"
install -d "$pkgdir/usr/share/$pkgname"
cp -r ./* "$pkgdir/usr/share/$pkgname"
}
post_install() {
echo "To configure and run chibisafe, please follow these steps:"
echo "1. cd /usr/share/chibisafe"
echo "2. Run npm i to install the node modules."
echo "3. Run npm run setup to configure chibisafe."
echo "4. Check the nginx file for a sample configuration that has every step to run chibisafe securely on production."
echo "5. Start chibisafe by using pm2 start pm2.json"
}
Last edited by linuxscoop (2023-03-14 13:07:28)
Offline
build-essential package installed in your system to build dependencies
that sounds like a a debian/ubuntu thing, the closest archlinux has is probably base-devel .
latest release of chibisafe was in 2017 and ffmpeg has changed considerably since then, have you checked which versions it supports ?
node version 12.18.2+ (we recommend using volta.sh
nodejs-lts-fermium ( 14.21.3-1 ) is the oldest node version archlinux still has in repos.
Are you sure you want to use this software ?
Last edited by Lone_Wolf (2023-03-14 13:21:03)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Online