http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg
It's sort of hefty (~45MB) because it includes all of MathJax, which is
something like 200MB uncompressed for all the image fonts. When MathJax
is included in Sage, we won't have to do that, and the cell server will
be on the order of a few megabytes.
This works for sage 5.0 beta 6 *with the new notebook* (testing welcome,
and rebasing to newer betas welcome!):
# follow the instructions on trac #11080 to install the new notebook, then:
sage -i http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg
After installing, open up two terminals:
cd $SAGE_ROOT/devel/sagecell
sage ./start_web.py
and
cd $SAGE_ROOT/devel/sagecell
sage ./start_device.py
Then go to http://localhost:8080
(The potential troublesome spot I see in the installation is that it has
to apply two patches to Sage using queues. If you have uncommitted
changes, or if you have conflicts, that should stop the spkg installation.)
The default configuration is not secure, so you'll need to do more work
to harden the system to open it up to outside users. But at least that
should get you up and running for a personal/development server.
And, by the way, with the new notebook installed from #11080, you might
as well chip in reviewing it so it can get into Sage 5.0!
Thanks,
Jason
P.S. I made the spkg by doing 'sage sage-spkg/spkg-dist' in the sagecell
directory.
For anyone interested in working with the sage cell server, we've made
an experimental spkg and posted it here:http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg
It's sort of hefty (~45MB) because it includes all of MathJax, which is
something like 200MB uncompressed for all the image fonts. When MathJax
is included in Sage, we won't have to do that, and the cell server will
be on the order of a few megabytes.
Our purpose is to make a single self-contained spkg that does not
require web access to install or use on localhost.
It would be trivial to exclude mathjax and download it when the spkg is
installed. It would also be trivial to use the MathJax CDN if so
desired. If someone wants to submit pull requests to implement these
features, they are more than welcome. We're going for
ease-of-installation of a flexible development environment in this
experimental spkg.
The hope is that "real soon now" we'll have the new notebook and MathJax
included in Sage. Then the sagecell spkg will drop to a few MB.
Thanks,
Jason
Uh... I'd rather be able to use sage from a slow connection or offline!
Snark on #sagemath
This doesn't quite make sense to me, since I'm against including
"MathJax + 200MB of fonts" in Sage ever.
William
P.S. Yes, I know those 200MB of image fonts "snuck" into moinmoin
wiki, which is in Sage right now, but that will get removed.
>
> This works for sage 5.0 beta 6 *with the new notebook* (testing welcome, and
> rebasing to newer betas welcome!):
>
> # follow the instructions on trac #11080 to install the new notebook, then:
> sage -i http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg
>
> After installing, open up two terminals:
>
> cd $SAGE_ROOT/devel/sagecell
> sage ./start_web.py
>
> and
>
> cd $SAGE_ROOT/devel/sagecell
> sage ./start_device.py
>
>
> Then go to http://localhost:8080
>
> (The potential troublesome spot I see in the installation is that it has to
> apply two patches to Sage using queues. If you have uncommitted changes, or
> if you have conflicts, that should stop the spkg installation.)
>
> The default configuration is not secure, so you'll need to do more work to
> harden the system to open it up to outside users. But at least that should
> get you up and running for a personal/development server.
>
> And, by the way, with the new notebook installed from #11080, you might as
> well chip in reviewing it so it can get into Sage 5.0!
>
> Thanks,
>
> Jason
>
> P.S. I made the spkg by doing 'sage sage-spkg/spkg-dist' in the sagecell
> directory.
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
Nope; don't do that. When we do MathJax 2.0 in the Sage notebook, we'll
use SVG fonts and delete the image fonts. We include the image fonts in
sagecell because we haven't upgraded to MathJax 2.0 yet in the cell server.
Jason
The thread started with "For anyone interested in working with the
sage cell server, we've made an experimental spkg ".
I think nobody is talking about standard packages included in Sage here.
William
> * If a user really *never ever* wants to be connected with the
> internet while running the single cell server, then s/he should better
> install an optional MathJax package first.
>
> So, I am for making MathJax an optional package *separate* from the
> sagecell spkg.
>
> Cheers,
> Simon
>
> The thread started with "For anyone interested in working with the
> sage cell server, we've made an experimental spkg ".
> I think nobody is talking about standard packages included in Sage here.
That's right. The motivation for this spkg is two students who are
joining us in developing the cell server---I wanted them to have a
one-step procedure for installation, instead of the mess it was before.
I thought others might like to play with it, hence my post here. I'm
not even proposing it be included in Sage (maybe I shouldn't have used
the word experimental?)
I think eventually we'd like to either make an optional spkg or (even
better) merge the codebase into the notebook.
Jason
On 2012-03-31, Jason Grout <jason...@creativetrax.com> wrote:
> On 3/31/12 5:05 AM, William Stein wrote:
>
>> The thread started with "For anyone interested in working with the
>> sage cell server, we've made an experimental spkg ".
>> I think nobody is talking about standard packages included in Sage here.
>
> That's right.
OK, I misunderstood that point.
> I think eventually we'd like to either make an optional spkg or (even
> better) merge the codebase into the notebook.
Why not one optional spkg for the sage cell server, and a second
optional package with the mathjax fonts, for those few people who want
the cell server but never want to use it while being connected with the
internet?
Cheers,
Simon
Sorry, apparently I should have been more clear.
>
>> I think eventually we'd like to either make an optional spkg or (even
>> better) merge the codebase into the notebook.
>
> Why not one optional spkg for the sage cell server, and a second
> optional package with the mathjax fonts, for those few people who want
> the cell server but never want to use it while being connected with the
> internet?
I'll leave the mathjax question up to a sage notebook discussion. What
you propose is what we have now with the jsmath-image-fonts spkg.
Jason
sage -i http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg
You just need to edit that file (plot/plot.py) and make that change
(delete the EMBEDDED_MODE line, and replace it with the "from
sage.misc...." line).
You'll then need to apply the second patch:
* go to SAGE_ROOT/devel/sage/
* do: ../../sage -hg qimport -P
https://raw.github.com/sagemath/sagecell/master/sage-patches/02-sage-show.patch
* do: ../../sage -b
Then reinstall the sagecell spkg.
Then just do the sage -i
http://sage.math.washington.edu/home/jason/sagecell-0.9.0.spkg step again.
It seemed to be installing now, but when running sage ./start_device.py, I get the following error with ssh:
you check those?