-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit afc33a9
Showing
19 changed files
with
1,487 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
*.pyc | ||
/build/ | ||
/dist/ | ||
/.conda/ | ||
/.jupyter/ | ||
/.local/ | ||
/node_modules/ | ||
/notebooks*/ | ||
/*.egg-info | ||
/*.egg | ||
/*.eggs | ||
.DS_Store | ||
.vagrant |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ARG BASE_IMAGE | ||
FROM ${BASE_IMAGE} | ||
|
||
RUN python -m pip install six click nbformat |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
all-tests: all-images test-2.7 test-3.5 test-3.6 test-3.7 test-3.8 | ||
|
||
all-images: image-2.7 image-3.5 image-3.6 image-3.7 image-3.8 | ||
|
||
image-%: | ||
docker build -t rsconnect-python:$* --build-arg BASE_IMAGE=python:$* . | ||
|
||
test-%: | ||
docker run -it --rm \ | ||
-v $(PWD):/rsconnect \ | ||
-w /rsconnect \ | ||
rsconnect-python:$* \ | ||
bash -c 'python setup.py install && python -m unittest discover' |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# rsconnect-python | ||
|
||
This package is a library used by the rsconnect-jupyter package to deploy Jupyter notebooks to RStudio Connect. It can also be used by other Python-based deployment tools. | ||
|
||
There is also a CLI deployment tool which can be used directly to deploy notebooks. | ||
|
||
``` | ||
rsconnect deploy \ | ||
--api-key my-api-key \ | ||
--server https://my.connect.server:3939 \ | ||
./my-notebook.ipynb | ||
``` |
Empty file.
Oops, something went wrong.