#11080: move notebook to flask/wsgi-based notebook
-----------------------------------------------------------------------+----
       Reporter:  jason                                                |        
 Owner:  jason, mpatel, was                
           Type:  enhancement                                          |        
Status:  needs_work                        
       Priority:  blocker                                              |     
Milestone:  sage-5.0                          
      Component:  notebook                                             |    
Resolution:                                    
       Keywords:  sd31 sd35.5                                          |   Work 
issues:                                    
Report Upstream:  N/A                                                  |     
Reviewers:  Rado Kirov, Dan Drake, Jason Grout
        Authors:  Mike Hansen, Rado Kirov, William Stein, Jason Grout  |     
Merged in:                                    
   Dependencies:  #11078, #11874, #12229, #11503, #12327               |      
Stopgaps:                                    
-----------------------------------------------------------------------+----

Old description:

> This ticket tracks the progress to move the notebook to a flask/wsgi-
> based notebook.
>
> Relevant code repository: https://github.com/sagemath/sagenb
>
> '''Explicit instructions''' including dependencies (replace $SAGE_ROOT
> with the root sage directory):
> {{{
> cd $SAGE_ROOT
> ./sage -f
> http://boxen.math.washington.edu/home/keshav/files/sagenb-0.9.0.spkg
> ./sage -f
> http://boxen.math.washington.edu/home/jason/jmol/jmol-12.0.45.p4.spkg
>

> ./sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11874/trac-11874-remove-twisted.patch
> ./sage -hg qpush
>
> ./sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11503/trac-11503-jmol-spkg.patch
> ./sage -hg qpush
>
> cd devel/sage
> ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11874/sage-spkg-11874.patch
> ../../sage -hg qpush
>
> ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11078/trac_11078.patch
> ../../sage -hg qpush
>

> ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11503/trac-11503-jmol-commandline.patch
> ../../sage -hg qpush
>
> ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12229/trac-12229-sagenb-developer-doc.2.patch
> ../../sage -hg qpush
>
> ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12229/trac-12229-manifest.patch
> ../../sage -hg qpush
>
> ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/11080/trac-11080-notebook-docs.patch
> ../../sage -hg qpush
>
> cd ../../
> ./sage -br
> }}}
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jason/sagenb-0.9.0.spkg] (this
> includes all dependencies not already in Sage)
>
> '''apply''': [attachment:trac-11080-notebook-docs.patch] to sage
> repository
>
> This is a review version of the spkg.  When we have finalized things,
> we'll make a finished spkg that has the appropriate tags in the revision
> history, no unnecessary revision branches, etc.

New description:

 This ticket tracks the progress to move the notebook to a flask/wsgi-based
 notebook.

 Relevant code repository: https://github.com/sagemath/sagenb

 '''Explicit instructions''' including dependencies (replace $SAGE_ROOT
 with the root sage directory):
 {{{
 cd $SAGE_ROOT
 ./sage -f
 http://boxen.math.washington.edu/home/keshav/files/sagenb-0.9.0.spkg
 ./sage -f
 http://boxen.math.washington.edu/home/jason/jmol/jmol-12.0.45.p4.spkg


 ./sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/11874/trac-11874-remove-twisted.patch
 ./sage -hg qpush

 ./sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/11503/trac-11503-jmol-spkg.2.patch
 ./sage -hg qpush

 cd devel/sage
 ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/11874/sage-spkg-11874.patch
 ../../sage -hg qpush

 ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/11078/trac_11078.patch
 ../../sage -hg qpush


 ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/11503/trac-11503-jmol-commandline.patch
 ../../sage -hg qpush

 ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/12229/trac-12229-sagenb-developer-doc.2.patch
 ../../sage -hg qpush

 ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/12229/trac-12229-manifest.patch
 ../../sage -hg qpush

 ../../sage -hg qimport http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/11080/trac-11080-notebook-docs.patch
 ../../sage -hg qpush

 cd ../../
 ./sage -br
 }}}

 '''spkg''':
 [http://boxen.math.washington.edu/home/jason/sagenb-0.9.0.spkg] (this
 includes all dependencies not already in Sage)

 '''apply''': [attachment:trac-11080-notebook-docs.patch] to sage
 repository

 This is a review version of the spkg.  When we have finalized things,
 we'll make a finished spkg that has the appropriate tags in the revision
 history, no unnecessary revision branches, etc.

--

Comment (by ppurka):

 Update to new jmol patch for `SAGE_ROOT`.
 ----
 Also, after applying the changes from #11874, #11503 and this ticket, the
 doctest of `devel/sagenb-main/sagenb` passes.

 After these changes however, there is a problem with typesetting maths and
 I get this notice on evaluation of '''every''' cell, whether it is plot or
 maths.

 `Error typesetting mathematics.`

 And sure enough, something as simple as `view(2+2)` shows the latex code
 instead of the maths. jsmath is loaded and the button is present on the
 right hand corner.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11080#comment:144>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

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

Reply via email to