You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by fg...@apache.org on 2020/02/21 01:09:56 UTC
[incubator-sdap-nexus] branch master updated: SDAP-216: Update the
quickstart guide (#89)
This is an automated email from the ASF dual-hosted git repository.
fgreg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
The following commit(s) were added to refs/heads/master by this push:
new 291013f SDAP-216: Update the quickstart guide (#89)
291013f is described below
commit 291013f6c3d3cf83a51e0a7d24673887cdbe8d59
Author: tloubrieu-jpl <60...@users.noreply.github.com>
AuthorDate: Thu Feb 20 17:08:36 2020 -0800
SDAP-216: Update the quickstart guide (#89)
* Update doc after standalone deployment on my laptop
* Update layout after rst preview test
* SDAP-216 Update the quickstart guide after deployment test on my laptop
---
docs/quickstart.rst | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index c03dec1..0b3be55 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -38,7 +38,7 @@ Pull the necessary Docker images from the `SDAP repository <https://hub.docker.c
.. code-block:: bash
- export VERSION=1.0.0-SNAPSHOT
+ export VERSION=1.0.0-rc1
.. code-block:: bash
@@ -205,12 +205,12 @@ Save this configuration to a file on your local laptop that can be mounted into
contactPoints: cassandra
solr:
host: http://solr:8983/solr/
-
datasource:
solrStore:
collection: nexustiles
EOF
+
Data files
-----------
@@ -247,7 +247,7 @@ Now that the data is being (has been) ingested, we need to start the webapp that
.. code-block:: bash
- docker run -d --name nexus-webapp --network sdap-net -p 8083:8083 -e SPARK_LOCAL_IP=127.0.0.1 -e MASTER=local[4] -e CASSANDRA_CONTACT_POINTS=cassandra -e SOLR_URL_PORT=solr:8983 sdap/nexus-webapp:${VERSION}
+ docker run -d --name nexus-webapp --network sdap-net -p 8083:8083 -e SPARK_LOCAL_IP=127.0.0.1 -e MASTER=local[4] -e CASSANDRA_CONTACT_POINTS=cassandra -e SOLR_URL_PORT=solr:8983 sdap/nexus-webapp:standalone.${VERSION}
.. note:: If you see a messasge like ``docker: invalid reference format`` it likely means you need to re-export the ``VERSION`` environment variable again. This can happen when you open a new terminal window or tab.
@@ -271,7 +271,7 @@ To launch the Jupyter notebook use the following command:
.. code-block:: bash
- docker run -it --rm --name jupyter --network sdap-net -p 8888:8888 sdap/jupyter:${VERSION} start-notebook.sh --NotebookApp.password='sha1:a0d7f85e5fc4:0c173bb35c7dc0445b13865a38d25263db592938'
+ docker run -it --rm --name jupyter --network sdap-net -p 8888:8888 nexusjpl/jupyter:${VERSION} start-notebook.sh --NotebookApp.password='sha1:a0d7f85e5fc4:0c173bb35c7dc0445b13865a38d25263db592938'
This command launches a Juypter container and exposes it on port 8888.
@@ -283,6 +283,14 @@ Once the container starts, navigate to http://localhost:8888/. You will be promp
Click on the ``Quickstart`` directory to open it. You should see a notebook called ``Time Series Example``:
+Add a cell at the top of the notebook:
+
+.. code-block:: Python
+
+ import os
+ os.environ["PROJ_LIB"] = "/opt/conda/share/proj"
+
+
.. image:: images/Jupyter_Quickstart.png
Click on the ``Time Series Example`` notebook to start it. This will open the notebook and allow you to run the two cells and execute a Time Series command against your local instance of NEXUS.