phpNemoServer is a JNTP server for newsgroups and forums distribution
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Applications
conf
install
lib
.gitignore
LICENCE.txt
README.md
index.php
jntp_rfc-v0.21.4.txt
start.php

README.md

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