On 9/15/12 3:42 PM, [email protected] wrote:
Dear all, following https://github.com/sagemath/sagecell/issues/344 I
tried to install the sagecell server. I proceeded as follows

* Install Sage 5.3 from sources

* as root:  ln -s /data/sage-5.3/sage /usr/local/bin/sage

* in  /data/sage-5.3: ./sage -i
http://sage.math.washington.edu/home/jason/ipython-0.13.spkg

You actually need to install an ipython later than 0.13 (we contributed some changes that they merged after 0.13).

git clone git://github.com/ipython/ipython.git

cd ipython

sage setup.py install

That will install the ipython master development branch.



* commands from the description of the ticket
http://trac.sagemath.org/sage_trac/ticket/12719

* commands from the description of the ticket
http://trac.sagemath.org/sage_trac/ticket/13121

* ./sage -i  http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg

* in /data/sage-5.3/devel/sage: patch -p1 <
../sagecell/contrib/ipython-testing/sage-patches/sagecell2.patch

* in /data/sage-5.3:  ./sage -b

* ./sage -sh -c "easy_install tornado paramiko sockjs-tornado"

* edited ip address in sagecell_config_default.py

* cd /data/sage-5.3/devel/sagecell; ../../sage ./start_web.py

* cd /data/sage-5.3/devel/sagecell; ../../sage ./start_device.py


The result looks like http://aleph1.sagemath.org/, so I guessed that I
installed version 1. How can I update to version 2? I was not able to
find relevant parts of the documentation.


You need to launch contrib/ipython-testing/webserver.py instead of start_web and start_device:

cd /data/sage-5.3/devel/sagecell/contrib/ipython-testing

../../../../sage webserver.py

In contrib/ipython-testing, you can copy config_default.py to config.py and then edit it to change settings.

Github issue https://github.com/sagemath/sagecell/pull/360 moves the contrib/ipython-testing version (i.e., version 2) to the top-level directory, but it's still under review.

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to