Skip to content

a simple file sharing site with duplicate file detection using mongodb and xxhash

License

Notifications You must be signed in to change notification settings

cyboerg42/filedrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filedrop

a simple file sharing site with duplicate file detection using mongodb and xxhash

dependencies : mongodb, nodejs

temporary install :

git clone https://github.com/cyboerg42/filedrop
cd filedrop
npm install
node app.js

install as a service :

cd /srv/
git clone https://github.com/cyboerg42/filedrop
groupadd nodejs
useradd -d /srv/filedrop -G nodejs nodejs
chown -R nodejs:nodejs /srv/filedrop

create service file at /etc/systemd/system/filedrop.service

[Unit]
Description=filedrop
Requires=After=mongod.service

[Service]
User=nodejs
Group=nodejs
ExecStart=/usr/bin/node /srv/filedrop/app.js
WorkingDirectory=/srv/filedrop/
Restart=always
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=nodejs-filedrop

[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable filedrop && systemctl start filedrop

About

a simple file sharing site with duplicate file detection using mongodb and xxhash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published