This is a server that acts as a repository for conda packages. It is a "poor-man's" replacement for Anaconda Server. Only small groups behind a firewall should feel comfortable using this. There is no authentication, nor logging. Anybody can upload and delete packages!
The script refresh_poboy_server.sh
can be used to quickly setup the server. It builds two docker images
- poboys_base_image - as base image with all dependencies required for poboy's server to run
- poboys_conda_package_server - the docker image with the poboy's server code. It is built on top of the base image.
To build both docker images (needed for the first time) and start the server issue the command
- ``mkdir conda-repo-root &&
- git clone https://github.com/h2oai/poboys_conda_package_server.git && cd poboys_conda_package_server && ./refresh_poboy_server.sh --refreshbase``
It has a simple web interface - browse to the appropriate url and have a look:
http://your.hostname:6969
If you want to specify a different port or an S3 bucket then you can setup the following environment variables on the
Host machine and run refresh_poboy_server.sh
to refresh only the poboy server image
export POBOYS_PORT=6969 export POBOYS_S3_BUCKET=<YOURBUCKET> export AWS_ACCESS_KEY_ID=<YOURKEY> export AWS_SECRET_ACCESS_KEY=<YOURSECRET>
Packages available in Poboy's server can we uploaded to anaconda cloud at the click of a button. Ensure the following environment variables are set
export ANACONDA_USERNAME=<YOURANACONDAUSERNAME> export ANACONDA_PASSWORD=<YOURPASSWORD> export ANACONDA_ORG=<YOURORG>
Note: if ANACONDA_ORG is set then by default packages will be uploaded to the Organization. If not set, then packages are uploaded to user's account.
All files are licensed under the BSD 3-Clause License as follows: