Skip to content

MoePlayer/DPlayer-node

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 3, 2017 11:35
July 3, 2018 01:12
July 14, 2018 18:49
July 10, 2018 00:36
July 3, 2018 01:12
July 3, 2018 01:12
July 3, 2018 01:12
July 3, 2018 01:12
July 3, 2018 01:12
July 10, 2018 00:22
July 10, 2018 00:22

DPlayer node

Node.js backend for DPlayer

Usage

Start

docker-compose build
docker-compose pull
docker-compose up # -d for run it in the background

Data & logs

Database data: ~/dplayer/db DPlayer logs: ~/dplayer/logs PM2 logs: ~/dplayer/pm2logs

Import

mv dans.json ~/dplayer/db/backup/dans.json
docker exec dplayernode_mongo_1 mongoimport -d danmaku -c dans --file /data/db/backup/dans.json

Export

docker exec dplayernode_mongo_1 mongoexport -d danmaku -c dans -o /data/db/backup/dans.json
cat ~/dplayer/db/backup/dans.json

Stop

docker-compose stop

Communication Groups

Telegram Group

Author

DPlayer-node © DIYgod, Released under the MIT License.
Authored and maintained by DIYgod with help from contributors (list).

Blog @DIYgod · GitHub @DIYgod · Twitter @DIYgod · Telegram Channel @awesomeDIYgod