update disk path
"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\")"
]
},
{
"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\")"
]
}
],
