phpNemoServer is a set of PHP-scripts to manage JNTP Server.
http://news2.nemoweb.net/
Copyright (C) 2013-2016 Julien Arlandis <julien.arlandis_at_gmail.com>
http://www.gnu.org/licenses/agpl.txt
- PHP 5.2 or later
- MongoDB 2.4 or later
- libcurl
See reference about server support forums under <news:nemo.dev.serveur>
See reference about client support forums under <news:nemo.dev.client>
- 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
- Go to http://yourserver/jntp/ and follow the instructions. Greats :)
git pull
mongoexport --db <database> --collection user --out user.json
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