Hi all,
A major update for Newebe is available. To update your Newebe you
have to do a full reinstallation. Good news, the installation
procedure is easier. You will find instructions at the bottom of this
email.
This new version adds real time features to the newebe : requests send
to your contact are sent asynchronously (sending request to your
contact does not block your newebe anymore) and new microposts from
your contacts are displayed automatically in your browser without the
need to refresh your news page.
About technologies used for this, Newebe is now based on Tornado web
server. Core of Newebe still uses Django, but it will probably be
ported to Tornado too.
Installation for Debian-like OS
Dependencies
* Python >= 2.6
* Django >= 1.2
* Couchdb >= 0.11.0
* Coucdbkit >= 0.4.8
* Tornado >= 1.2.0
Procedure
1) Install following packages :
python python-setuptools python-pycurl python-daemon couchdb git
Via easy_install install couchdbkit, django et tornado :
easy_install couchdbkit django tornado
2) Get Newebe from Github :
git clone git://
github.com/gelnior/newebe.git
3) Ensure database is started, then in Newebe directory execute
following command to configure database :
python manage.py sync_couchdb
4) Update deployment file (deploy/newebe) by changing NEWEBE_PATH and
PIDFILE constants to make it point to your newebe directory (pid file
will be created at first startup).
4 bis) To change database name or port change constants sets in
settings.py file : TORNADO_PORT and COUCHDB_DB_NAME. Default port is
8000 and default database name is newebe.
5) Copy file deploy/newebe in the folder /etc/init.d/ then give it
execution rights.
cp deploy/newebe /etc/init.d
chmod +x /etc/init.d/newebe
6) Start newebe server.
/etc/init.d/newebe start
7) Check that everything is fine via your web browser : go to the URL
http://localhost:port/ (remplace port by TORNADO_PORT value, default
is 8000).
Regards,
Gelnior