Skip to content

phpNemoServer is a JNTP server for newsgroups and forums distribution

License

Notifications You must be signed in to change notification settings

Julien-Arlandis/phpNemoServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpNemoServer Readme

phpNemoServer is a set of PHP-scripts to manage JNTP Server.
http://news2.nemoweb.net/

Copyright

Copyright (C) 2013-2016 Julien Arlandis <julien.arlandis_at_gmail.com>

License

http://www.gnu.org/licenses/agpl.txt

Requirements

  • PHP 5.2 or later
  • MongoDB 2.4 or later
  • libcurl

Support

See reference about server support forums under <news:nemo.dev.serveur>
See reference about client support forums under <news:nemo.dev.client>

Installation

  • Go to your website root directory.
  • Install the most popular JNTP client (Nemo) :
git clone https://github.com/Julien-Arlandis/NemoClient.git .
  • Install JNTP server :
git clone https://github.com/Julien-Arlandis/phpNemoServer.git jntp

Upgrade Server

git pull

Export users to user.json file

mongoexport --db <database> --collection user --out user.json

Import users from user.json file

mongoimport --db <database> --collection user --file user.json
mongo <<EOF
use <database>
db.counters.findAndModify({
    query: {"_id":"UserID"},
    update: {"seq":db.user.find().sort({"UserID":-1}).limit(1).next().UserID},
    upsert: true
});
EOF

About

phpNemoServer is a JNTP server for newsgroups and forums distribution

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •