Skip to content

Run or Deploy

Radoslav Raynov edited this page Feb 3, 2019 · 11 revisions

Make a New Release

# (1) update CHANGELOG.md and __version__ in m2_kernel/__init__.py
# (2) tag and push new version
git tag $VERSION && git push origin $VERSION
# (3) make source and built distributions
python3 setup.py sdist bdist_wheel
# (4) push them to PyPI
# export PATH=$PATH:~/Library/Python/3.7/bin/
python3 -m twine upload dist/*
# (5) update Releases on Github

Run thru SSH

# Server:
jupyter notebook --no-browser --port 8890

# Client:
ssh -N -f -L localhost:8890:localhost:8890 username@your_remote_host_name
open localhost:8890  # then enter token

Deploy the Docker image

# Hosting Server:
docker run -p 80:8890 rzlatev/m2jk &
Clone this wiki locally