Skip to content

Commit

Permalink
Added command examples to setup github access inside the container
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolazurdo committed Nov 24, 2020
1 parent 3027b77 commit 279f981
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions Bible_Analysis.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# To run outside the container\n",
"# CONTAINER_ID=d8f9013d4f79\n",
"# docker cp ~/.ssh/id_rsa ${CONTAINER_ID}:/root/.ssh/id_rsa\n",
"# docker cp ssh_config ${CONTAINER_ID}:/root/.ssh/ssh_config\n",
"# docker exec ${CONTAINER_ID} chown root:root /root/.ssh/config\n",
"# docker exec ${CONTAINER_ID} chown root:root /root/.ssh/id_rsa\n",
"# docker exec ${CONTAINER_ID} chmod 600 /root/.ssh/id_rsa\n",
"# docker exec ${CONTAINER_ID} chmod 600 /root/.ssh/config\n",
"# git init\n",
"# git remote add origin [email protected]:pcolazurdo/nltk-bible-analysis.git\n",
"# git fetch"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -164,9 +183,9 @@
"metadata": {},
"outputs": [],
"source": [
"!git add .\n",
"!git commit -m 'Initial Commit'\n",
"!git push origin master"
"# !git add .\n",
"# !git commit -m 'Initial Commit'\n",
"# !git push origin master"
]
},
{
Expand Down

0 comments on commit 279f981

Please sign in to comment.