based on my own suffering :) these steps makes sage cell runs.
1.
sudo apt-get install uuid-dev # ubuntu users
2.
sudo apt-get install build-essential m4 gfortran perl dpkg-dev make tar
3.
sudo apt-get install libcurl4-openssl-dev
4.
sudo apt-get install python-software-properties
5.
sudo add-apt-repository ppa:chris-lea/node.js
6.
sudo apt-get update
7.
sudo apt-get install nodejs
8.
sudo apt-get install npm
9.
git clone https://github.com/jasongrout/sage.git
10.
cd sage
11.
git checkout origin/sagecell
12.
mkdir upstream
13.
cd upstream
14.
wget -O ipython-1.0.0.tar.gz
https://github.com/ipython/ipython/releases/download/rel-1.0.0/ipython-1.0.0.tar.gz
15.
cd ..
16.
vi build/pkgs/ipython/checksums.ini
17.
tarball=ipython-1.0.0.tar.gz # the version of earlier step and remove
extra spaces
18.
make
19.
./sage -sh -c "easy_install pip"
20.
./sage -i zeromq
21.
./sage -i pyzmq
22.
./sage -sh -c "pip install -U pyzmq"
23.
sudo apt-get install libcurl4-openssl-dev
24.
./sage -f git
25.
# IPython
26.
pushd local/lib/python/site-packages
27.
rm -rf IPython*
28.
rm -rf ipython*
29.
popd
30.
git clone https://github.com/ipython/ipython.git
31.
pushd ipython
32.
git remote add jason https://github.com/jasongrout/ipython.git
33.
git fetch jason
34.
git checkout jason/sagecell
35.
../sage setup.py develop
36.
popd
37.
./sage -sh -c "easy_install pyparsing"
38.
git clone https://github.com/jasongrout/matplotlib
39.
pushd matplotlib
40.
git checkout origin/sagecell
41.
../sage setup.py install
42.
popd
43.
pushd /local/lib/python2.7/site-packages
44.
ln -s sagenb-0.10.7.2-py2.7.egg sagenb-0.10.4-py2.7.egg # corrigido
45.
popd
46.
npm install -g inherits requirejs coffee-script ##installs r.js
==required.js
47.
./sage -sh -c "easy_install pyparsing"
48.
git clone https://github.com/jasongrout/matplotlib
49.
pushd matplotlib
50.
git checkout origin/sagecell
51.
../sage setup.py install
52.
popd
53.
./sage -i
http://sage.math.washington.edu/home/jason/sagecell-spkg/sagecell-2013-08-13.spkg
54.
cd sagecell/
55.
git pull origin master
56.
../sage -sh -c "make -B"
57.
cp config_default.py config.py
58.
configure user and host in config_default.py
59. ../sage web_server.py -p 8889
On Tuesday, January 21, 2014 2:29:30 PM UTC-2, y tan wrote:
>
> everything works now. Thank you very much Jason.
>
> On Monday, January 20, 2014 10:39:51 AM UTC-8, Jason Grout wrote:
>>
>> On 1/20/14, 12:36, y tan wrote:
>> > Hi Jason,
>> >
>> >
>> > I redo http://ufrmeca.univ-lyon1.fr/~buffat/sagecell.html
>> > and i found out I have an error after ../sage -sh -c "make -B"
>> > if git submodule status | grep -q ^[+-]; then git submodule update
>> > --init > /dev/null; fi
>> > python -c "import urllib;
>> > urllib.urlretrieve('http://code.jquery.com/jquery-2.0.3.min.js'
>> ,
>> > 'static/jquery.min.js')"
>> > r.js -o static/require/main.js
>> > appDir=/home/sshuser/sage2/ipython/IPython/html/static/
>> > make: r.js: Command not found
>> >
>>
>> You'll need to install requirejs in the system. I do this on CentOS
>> here:
>>
>>
>> https://github.com/sagemath/sagecell/blob/master/contrib/vm/install-sagecell-functions#L165
>>
>>
>> (I also installed nodejs before elsewhere.)
>>
>> Thanks,
>>
>> Jason
>>
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.