conda install -c conda-forge nb_anacondacloud
anaconda login # optional, but recommended
Then, when you launch the Jupyter Notebook, you will see a "cloud upload" button in the toolbar. Press it, and after ensuring your credentials, you'll be able to click Publish.
The Summary and Thumbnail fields are currently only populated the first time you publish!
git clone https://github.com/Anaconda-Platform/nb_anacondacloud.git
conda create -y -n nb_anacondacloud python
conda install -y -n nb_anacondacloud -c conda-forge --file requirements.txt
source activate nb_anacondacloud
python setup.py develop
npm install
jupyter nbextension install nb_anacondacloud --py --sys-prefix --symlink
jupyter nbextension enable nb_anacondacloud --py --sys-prefix
jupyter serverextension enable nb_anacondacloud --py --sys-prefix
jupyter notebook --no-browser
Happy hacking!
The tests can either be run with a mocked API (it won't hit the Anaconda Cloud API)...
npm run test
..or using your anaconda credentials, i.e. from anaconda login
USE_ANACONDA_TOKEN=1 npm run test
NOTE This approach will test the package "for reals" by:
untitled
untitled
Automated tests are run on Travis-CI and Appveyor.
nb_conda_kernels
2.0.0 (and actually depend on it)