summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-07-03 09:18:59 +0200
committertmartins <thigm85@gmail.com>2020-07-03 09:18:59 +0200
commit51f219bc4ddb0d9999bff9fcc7738db275298b0c (patch)
tree120a62c94810b53bf40ac055f3a937bf2190bf07 /python
parentff656a5b6a9eaf0314731cafbd16e9069302820b (diff)
update disk path
Diffstat (limited to 'python')
-rw-r--r--python/vespa/notebooks/application_package.ipynb60
1 files changed, 4 insertions, 56 deletions
diff --git a/python/vespa/notebooks/application_package.ipynb b/python/vespa/notebooks/application_package.ipynb
index f923d06d094..45f2da2ceac 100644
--- a/python/vespa/notebooks/application_package.ipynb
+++ b/python/vespa/notebooks/application_package.ipynb
@@ -125,40 +125,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "Waiting for configuration server.\n",
- "Waiting for configuration server.\n",
- "Waiting for configuration server.\n",
- "Waiting for configuration server.\n"
- ]
- },
- {
- "data": {
- "text/plain": [
- "[\"Uploading application '/app/application' using http://localhost:19071/application/v2/tenant/default/session\",\n",
- " \"Session 2 for tenant 'default' created.\",\n",
- " 'Preparing session 2 using http://localhost:19071/application/v2/tenant/default/session/2/prepared',\n",
- " \"WARNING: Host named 'msmarco' may not receive any config since it is not a canonical hostname. Disregard this warning when testing in a Docker container.\",\n",
- " \"Session 2 for tenant 'default' prepared.\",\n",
- " 'Activating session 2 using http://localhost:19071/application/v2/tenant/default/session/2/active',\n",
- " \"Session 2 for tenant 'default' activated.\",\n",
- " 'Checksum: 971f5eda655137fe7e3b1ae1441e89ae',\n",
- " 'Timestamp: 1593720925341',\n",
- " 'Generation: 2',\n",
- " '']"
- ]
- },
- "execution_count": null,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
- "app_package.deploy_locally(disk_folder=\"/Users/tmartins/sample_application\")"
+ "app_package.deploy_locally(disk_folder=\"~/sample_application\")"
]
},
{
@@ -190,30 +159,9 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/plain": [
- "[\"Uploading application '/app/application' using http://localhost:19071/application/v2/tenant/default/session\",\n",
- " \"Session 3 for tenant 'default' created.\",\n",
- " 'Preparing session 3 using http://localhost:19071/application/v2/tenant/default/session/3/prepared',\n",
- " \"WARNING: Host named 'msmarco' may not receive any config since it is not a canonical hostname. Disregard this warning when testing in a Docker container.\",\n",
- " \"Session 3 for tenant 'default' prepared.\",\n",
- " 'Activating session 3 using http://localhost:19071/application/v2/tenant/default/session/3/active',\n",
- " \"Session 3 for tenant 'default' activated.\",\n",
- " 'Checksum: 09e37f616b75ff9c81acbfe411203cdd',\n",
- " 'Timestamp: 1593720955212',\n",
- " 'Generation: 3',\n",
- " '']"
- ]
- },
- "execution_count": null,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": [
- "app_package.deploy_locally(disk_folder=\"/Users/tmartins/projects/vespa/vespa/python/vespa/notebooks/sample_application2\")"
+ "app_package.deploy_locally(disk_folder=\"~/sample_application\")"
]
}
],