{ "info": { "author": "Ruslan Korniichuk", "author_email": "ruslan.korniichuk@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: Public Domain", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Topic :: Scientific/Engineering", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": ".. contents:: Table of contents\n :depth: 3\n\nIntroduction\n============\nYep, you can use this `NOT simple installation `_. Oops, does not work. Use the SageMathCell installer, because it is just easier :).\n\nPortability\n===========\nThe SageMathCell installer tested on **Ubuntu Server 14.04 LTS**, **Ubuntu Desktop 14.04 LTS**, **Ubuntu Desktop 15.04** and **Debian 7.8**.\n\nInstallation\n============\nInstall the sagecell from PyPI\n------------------------------\n::\n\n $ sudo pip install sagecell\n\nInstall the sagecell from GitHub\n--------------------------------\n::\n\n $ sudo pip install git+git://github.com/korniichuk/sagecell#egg=sagecell\n\nUpgrade the sagecell from PyPI\n------------------------------\n::\n\n $ sudo pip install -U sagecell\n\nor::\n\n $ sudo pip install --upgrade sagecell\n\nUninstall the sagecell\n----------------------\n::\n\n $ sudo pip uninstall sagecell\n\nDevelopment installation\n========================\n::\n\n $ git clone git://github.com/korniichuk/sagecell.git\n $ cd sagecell\n $ sudo pip install .\n\nQuickstart\n==========\n**First**, install the SageMathCell::\n\n $ sagecell install\n\n**Second**, make sure that you can login to a localhost without entering password::\n\n $ ssh localhost\n\n.. note:: You can `setup SSH for auto login to localhost without a password`_ like this: ``$ sagecell ssh``.\n\n**Third**, start the SageMathCell::\n\n $ sagecell start\n\n.. important:: Do not close the current terminal.\n\n**Fourth**, open a new terminal for the next command::\n\n $ sagecell open\n\nThis command open browser with the SageMathCell.\n\nExpress\n-------\n::\n\n $ sagecell install\n $ sagecell ssh\n $ sagecell start\n\n # In a new terminal\n $ sagecell open\n\nUser guide\n==========\nHelp\n----\nThe standard output for \u2013help::\n\n $ sagecell -h\n\nor::\n\n $ sagecell --help\n\nFor information on using subcommand \"SUBCOMMAND\", do::\n\n $ sagecell SUBCOMMAND -h\n\nor::\n\n $ sagecell SUBCOMMAND --help\n\nExample::\n\n $ sagecell install -h\n\nVersion\n-------\nThe standard output for \u2013version::\n\n $ sagecell -v\n\nor::\n\n $ sagecell --version\n\nInstall the SageMathCell\n------------------------\n::\n\n $ sagecell install\n\nStart the SageMathCell\n----------------------\n::\n\n $ sagecell start\n\nOpen browser with the SageMathCell\n----------------------------------\n::\n\n $ sagecell open\n\n.. image:: ./img/user_guide-_open_browser_with_the_sagemathcell_0001_728px.png\n :alt: user guide: open browser with the sagemathcell [prtscn]\n\nSetup SSH for auto login to localhost without a password\n--------------------------------------------------------\n::\n\n $ sagecell ssh\n\nIf you are familiar with `ssh-keygen `_, `ssh-copy-id `_ and `ssh-add `_, this code also setup SSH for auto login to localhost without a password [1]_::\n\n $ ssh-keygen -t rsa -b 4096 -N '' -f ~/.ssh/id_rsa\n $ ssh-copy-id localhost\n $ eval \"$(ssh-agent -s)\"\n $ ssh-add ~/.ssh/id_rsa\n\nStart the SageMathCell automatically on boot\n--------------------------------------------\nWith the SageMathCell installer\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n $ sagecell auto\n\n.. note:: The default port number is 8888.\n\nFor changing a port number. First, open the ``/usr/local/bin/sagecellscript`` file::\n\n $ sudo nano /usr/local/bin/sagecellscript\n\nor::\n\n $ su -c \"nano /usr/local/bin/sagecellscript\"\n\nSecond, change the last line from::\n\n ../sage/sage web_server.py\n\nto::\n\n ../sage/sage web_server.py -p PORT_NUMBER\n\nWhere:\n\n* ``PORT_NUMBER`` -- a port number.\n\nExample::\n\n ../sage/sage web_server.py -p 6363\n\nWithout the SageMathCell installer\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nFirst, install `screen `_::\n\n $ sudo apt-get install screen\n\nor::\n\n $ su -c \"apt-get install screen\"\n\nSecond, create the ``/usr/local/sbin/sagecellscript`` file::\n\n #! /bin/sh\n\n cd ~/sc_build/sagecell\n ../sage/sage web_server.py\n\nor::\n\n #! /bin/sh\n\n cd ~/sc_build/sagecell\n ../sage/sage web_server.py -p PORT_NUMBER\n\nWhere:\n\n* ``PORT_NUMBER`` -- a port number.\n\n.. note:: The default port number is 8888.\n\nExample::\n\n #! /bin/sh\n\n cd ~/sc_build/sagecell\n ../sage/sage web_server.py -p 6363\n\nThird, make the ``/usr/local/sbin/sagecellscript`` file executable::\n\n $ sudo chmod 755 /usr/local/sbin/sagecellscript\n\nor::\n\n $ su -c \"chmod 755 /usr/local/sbin/sagecellscript\"\n\nFourth, open the ``/etc/rc.local`` file::\n\n $ sudo nano /etc/rc.local\n\nor::\n\n $ su -c \"nano /etc/rc.local\"\n\nAdd the next command below the comment, but leave the line ``exit 0`` at the end, then save the file and exit::\n\n sudo -u USERNAME screen -dmS sagecell /usr/local/sbin/sagecellscript\n\nor::\n\n su USERNAME -c \"screen -dmS sagecell /usr/local/sbin/sagecellscript\"\n\nWhere:\n\n* ``USERNAME`` -- a username.\n\nExample::\n\n sudo -u albert screen -dmS sagecell /usr/local/sbin/sagecellscript\n\nor::\n\n su albert -c \"screen -dmS sagecell /usr/local/sbin/sagecellscript\"\n\nTransfer a short temporary links\n--------------------------------\nReplace the ``~/sc_build/sagecell/sqlite.db`` file with a `shortened temporary links `_::\n\n $ scp SOURCE_FILE REMOTE_USERNAME@REMOTE_HOST:~/sc_build/sagecell/sqlite.db\n\nExample::\n\n $ scp ~/Downloads/sqlite4transfer.db albert@192.168.0.1:~/sc_build/sagecell/sqlite.db\n\nDisable the terms of service requirement\n----------------------------------------\nFor disabling the terms of service requirement. First, open the ``~/sc_build/sagecell/config.py`` file::\n\n $ nano ~/sc_build/sagecell/config.py\n\nSecond, change the line of code from::\n\n requires_tos = True\n\nto::\n\n requires_tos = False\n\nThird, reboot a server from command line::\n\n $ reboot\n\n.. rubric:: Footnotes\n\n.. [1] https://help.github.com/articles/generating-ssh-keys/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/korniichuk/sagecell/archive/0.3.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/korniichuk/sagecell", "keywords": "installer,python2,sagecell,sagemathcell", "license": "Public Domain", "maintainer": null, "maintainer_email": null, "name": "sagecell", "package_url": "https://pypi.org/project/sagecell/", "platform": "Linux", "project_url": "https://pypi.org/project/sagecell/", "project_urls": { "Download": "https://github.com/korniichuk/sagecell/archive/0.3.zip", "Homepage": "https://github.com/korniichuk/sagecell" }, "release_url": "https://pypi.org/project/sagecell/0.3rc6/", "requires_dist": null, "requires_python": null, "summary": "The SageMathCell installer", "version": "0.3rc6" }, "last_serial": 1846524, "releases": { "0.1b3": [ { "comment_text": "", "digests": { "md5": "8b1b023436920770d2378930271d9be8", "sha256": "0a4ccb8efce53d970285c03eaf0c8d5c995e8b5f81db574711891ac0be16cb09" }, "downloads": -1, "filename": "sagecell-0.1b3.tar.gz", "has_sig": false, "md5_digest": "8b1b023436920770d2378930271d9be8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 107266, "upload_time": "2015-06-25T13:12:37", "url": "https://files.pythonhosted.org/packages/9b/ac/2e7848a52f428b265ae9c1191d60a40ccca13f323f8ac04192b0e52a1017/sagecell-0.1b3.tar.gz" }, { "comment_text": "", "digests": { "md5": "9a735b4f18ac8ab66607697ba333df9c", "sha256": "168ec5cf7348812d49181417b529b30d452204a54480ae0ea2b8d214c56259fe" }, "downloads": -1, "filename": "sagecell-0.1b3.zip", "has_sig": false, "md5_digest": "9a735b4f18ac8ab66607697ba333df9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 109759, "upload_time": "2015-06-25T13:12:33", "url": "https://files.pythonhosted.org/packages/ae/c7/5ed2a42bc4e52dba06509974ba434cbca84fb2fd8e887a6469f83d6e49e5/sagecell-0.1b3.zip" } ], "0.2rc2": [ { "comment_text": "", "digests": { "md5": "855b4aa33cb7ecd2bd4531999fc18149", "sha256": "4c9a74fc9279bb0ddb932ae0ce090f20a11ed305f6d9e36bce55366ae1c24d68" }, "downloads": -1, "filename": "sagecell-0.2rc2.tar.gz", "has_sig": false, "md5_digest": "855b4aa33cb7ecd2bd4531999fc18149", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 110783, "upload_time": "2015-07-25T14:28:36", "url": "https://files.pythonhosted.org/packages/82/e8/1e5926b0391486b88489f2399c47d266f9f3990b3a372d3a642e46a2c236/sagecell-0.2rc2.tar.gz" }, { "comment_text": "", "digests": { "md5": "4cec4dc63cdb2aae0eb5f49971884985", "sha256": "3c91bde3dd5519c344e6908a9ea1d21b101637fb61c857b08260407f8635d7e3" }, "downloads": -1, "filename": "sagecell-0.2rc2.zip", "has_sig": false, "md5_digest": "4cec4dc63cdb2aae0eb5f49971884985", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 113894, "upload_time": "2015-07-25T14:28:32", "url": "https://files.pythonhosted.org/packages/49/6a/0133fea7b07d20bb2c991ce1d56a05877a65394c298e5806ba00a05f69f8/sagecell-0.2rc2.zip" } ], "0.3rc6": [ { "comment_text": "", "digests": { "md5": "67f24afee7287979ad3c9d0e7254dffd", "sha256": "8bf81fed8e92691c32207ef9342f09407cebf0284f07cd987e8424d020fb6650" }, "downloads": -1, "filename": "sagecell-0.3rc6.tar.gz", "has_sig": false, "md5_digest": "67f24afee7287979ad3c9d0e7254dffd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 110870, "upload_time": "2015-12-04T14:01:45", "url": "https://files.pythonhosted.org/packages/56/05/0507f874e861f92d744f44a9ed4ca7f3bb464bdc3255d8eb01568c4d8b3e/sagecell-0.3rc6.tar.gz" }, { "comment_text": "", "digests": { "md5": "a52bc703aeff3f5f42891c5aeef2d835", "sha256": "6bf409629a1d414a8b25c080742f2dfdc1c40a5a28389323aa7ec2b100f5cd04" }, "downloads": -1, "filename": "sagecell-0.3rc6.zip", "has_sig": false, "md5_digest": "a52bc703aeff3f5f42891c5aeef2d835", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 113987, "upload_time": "2015-12-04T14:01:36", "url": "https://files.pythonhosted.org/packages/fc/b7/16fd4438e00c565d3e436bed3592588d15f6bd743521a539928fcacc9f8f/sagecell-0.3rc6.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67f24afee7287979ad3c9d0e7254dffd", "sha256": "8bf81fed8e92691c32207ef9342f09407cebf0284f07cd987e8424d020fb6650" }, "downloads": -1, "filename": "sagecell-0.3rc6.tar.gz", "has_sig": false, "md5_digest": "67f24afee7287979ad3c9d0e7254dffd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 110870, "upload_time": "2015-12-04T14:01:45", "url": "https://files.pythonhosted.org/packages/56/05/0507f874e861f92d744f44a9ed4ca7f3bb464bdc3255d8eb01568c4d8b3e/sagecell-0.3rc6.tar.gz" }, { "comment_text": "", "digests": { "md5": "a52bc703aeff3f5f42891c5aeef2d835", "sha256": "6bf409629a1d414a8b25c080742f2dfdc1c40a5a28389323aa7ec2b100f5cd04" }, "downloads": -1, "filename": "sagecell-0.3rc6.zip", "has_sig": false, "md5_digest": "a52bc703aeff3f5f42891c5aeef2d835", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 113987, "upload_time": "2015-12-04T14:01:36", "url": "https://files.pythonhosted.org/packages/fc/b7/16fd4438e00c565d3e436bed3592588d15f6bd743521a539928fcacc9f8f/sagecell-0.3rc6.zip" } ] }