Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvantellingen/localshop
local pypi server (custom packages and auto-mirroring of pypi)
https://github.com/mvantellingen/localshop
packaging pypi python
Last synced: 2 days ago
JSON representation
local pypi server (custom packages and auto-mirroring of pypi)
- Host: GitHub
- URL: https://github.com/mvantellingen/localshop
- Owner: mvantellingen
- License: mit
- Created: 2012-02-05T12:03:50.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-04-21T20:53:22.000Z (over 1 year ago)
- Last Synced: 2024-05-01T23:22:24.937Z (6 months ago)
- Topics: packaging, pypi, python
- Language: Less
- Homepage:
- Size: 1.29 MB
- Stars: 392
- Watchers: 18
- Forks: 113
- Open Issues: 47
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- fucking_awesome_python - :octocat: localshop - :star: 279 :fork_and_knife: 99 - Local PyPI server (custom packages and auto-mirroring of pypi). (Package Repositories)
- awesome-python-cn - localshop
- starred-awesome - localshop - local pypi server (custom packages and auto-mirroring of pypi) (Python)
README
localshop
=========.. image:: https://img.shields.io/pypi/v/localshop.svg
:target: https://pypi.python.org/pypi/localshop/
:alt: Latest Version.. image:: https://travis-ci.org/mvantellingen/localshop.svg?branch=master
:target: https://travis-ci.org/mvantellingen/localshop.. image:: http://codecov.io/github/mvantellingen/localshop/coverage.svg?branch=master
:target: http://codecov.io/github/mvantellingen/localshop?branch=masterA PyPI server which automatically proxies and mirrors PyPI packages based
upon packages requested. It has support for multiple indexes and team based
access and also supports the uploading of local (private) packages.The full documentation is available on `Read The Docs`_
.. _`Read The Docs`: http://localshop.readthedocs.org/
Getting started
---------------When you want to host it on AWS with the Azure AD oauth2 server use:
docker run \
-e DATABASE_URL=postgresql://user:password@host/database
-e SECRET_KEY=
-e LOCALSHOP_FILE_STORAGE=storages.backends.s3boto.S3BotoStorage
-e LOCALSHOP_FILE_BUCKET_NAME=
-e OAUTH2_PROVIDER=azuread-oauth2 \
-e OAUTH2_APPLICATION_ID=
-e OAUTH2_SECRET_KEY=
mvantellingen/localshopIf you want more flexibility you can load your custom settings file by mounting
a docker volume and creating a localshop.conf.py. This file will be loaded by
localshop at the end of the settings file.docker run \
-e DATABASE_URL=postgresql://user:password@host/database
-e SECRET_KEY=
-v $(PWD)/config:/home/localshop/conf/
mvantellingen/localshop