==========================
Frequently asked questions
==========================

.. contents::
    :local:

What is AEN?
============

For information on AEN, see :doc:`index`.

Can notebooks be shared with anyone?
====================================

Yes. When you share a Jupyter Notebook through AEN, it can be
viewed and run without the need to install anything special,
regardless of what libraries were used to create the notebook.
Each notebook also includes the python environment that it needs
to run in.

AEN allows users to clone a shared Jupyter Notebook into their
AEN account to make whatever changes or modifications they want.
The notebook's Python environment is also cloned, so it runs in
the same environment as the shared Jupyter Notebook unless it is
changed.

Can I disable the option, "publish your notebook to anaconda.org"?
==================================================================

Yes. The upload button in the notebook app executes the option "publish your
notebook to anaconda.org". To disable it, log in as the AEN_SRVC_ACCT and run
these commands::

  source activate /opt/wakari/wakari-compute
  jupyter-nbextension disable nb_anacondacloud --py --sys-prefix
  jupyter-serverextension disable nb_anacondacloud --py --sys-prefix

How can I check the version number of my AEN server?
====================================================

Go to this URL in a browser: ``http://$AEN_SERVER/admin/list``

NOTE: Replace ``$AEN_SERVER`` with the domain name or the domain name and port number
of your AEN server.

Can I use AEN to access CSV or Amazon S3 data?
==============================================

Yes. If your data is in CSV files, upload the CSV files to your
AEN account using the upload controls in the File Browser of the
Workbench Application or the File Transfer Application.

To access data stored on Amazon S3, use the Boto interface from AEN.
See the public data files in AEN for examples
of how to use Boto to pull your data from Amazon S3 into AEN. For
more information, see `Boto documentation
<https://boto3.readthedocs.io/en/latest/>`_.

You can also use IOPro to simplify and optimize the conversion of
your data into Python arrays.

Can I install other Python packages?
====================================

Yes, by creating a custom environment for your packages within your project.

For more information, see
:doc:`user-guide/basic-tasks/apps/jupyter/use-nbconda-ext`.


Can I create a Python environment from the command line?
========================================================

Yes, you can use the ``conda create`` command to create custom
Python environments with whatever packages you choose. All
AEN environments are shared with all the team members of a
project.

EXAMPLE: In this example, myenv is a new environment containing
the NumPy package.

.. code-block:: bash

   conda create -n myenv numpy

NOTE: Python, Jupyter Notebooks and PIP are installed by default
in all new AEN environments.

To use your new environment, activate it by running
``source activate myenv``.

Can I connect to GitHub with AEN?
=================================

Yes, you have full access to GitHub through an AEN Terminal application.

To generate an SSH key from your AEN account and add it to your GitHub account:

#. `Generate a GitHub SSH key
   <https://help.github.com/articles/generating-an-ssh-key/>`_.

#. Copy your key by running ``cat ~/.ssh/id_rsa.pub``.

#. Select and copy the contents of the ``id_rsa.pub`` file to the clipboard.

#. Follow `GitHub's instructions
   <https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/>`_
   to go to your GitHub account and paste it from your clipboard
   into the appropriate box in your GitHub settings.



Can I print or print preview my Jupyter Notebooks?
==================================================

Yes, you can print your notebooks using your browser's regular printing
capabilities.

You can also preview the printed page by clicking the **File** menu and
selecting Print Preview.

Is there a set amount of storage on AEN?
========================================

No, there is no set limit for storage in AEN. You are limited only by the
size of the disk where AEN is installed.

If you need more storage, contact your system administrator.

How do I get help, give feedback, suggest features or report a bug?
===================================================================

See :doc:`help-support`.
