-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added command examples to setup github access inside the container
- Loading branch information
1 parent
3027b77
commit 279f981
Showing
1 changed file
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
|
@@ -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" | ||
] | ||
}, | ||
{ | ||
|