Skip to content

mvantellingen/localshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

875ae6d · Jul 17, 2022
Jun 12, 2020
Nov 25, 2017
Jul 17, 2022
Jul 17, 2022
May 13, 2020
May 25, 2015
Nov 19, 2017
Nov 19, 2017
May 13, 2020
May 12, 2020
Feb 28, 2017
Nov 19, 2017
Feb 28, 2017
Nov 19, 2017
Nov 19, 2017
Nov 19, 2017
May 12, 2020
Apr 27, 2015
Nov 18, 2017
Nov 19, 2017
Jun 10, 2015
Dec 27, 2012
May 17, 2015
Nov 19, 2017
Jul 8, 2020
Nov 18, 2017

Repository files navigation

localshop

Latest Version https://travis-ci.org/mvantellingen/localshop.svg?branch=master http://codecov.io/github/mvantellingen/localshop/coverage.svg?branch=master

A 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

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=<secret-key-for-django> -e LOCALSHOP_FILE_STORAGE=storages.backends.s3boto.S3BotoStorage -e LOCALSHOP_FILE_BUCKET_NAME=<your-aws-s3-bucket> -e OAUTH2_PROVIDER=azuread-oauth2 -e OAUTH2_APPLICATION_ID=<your-oauth2-app-id> -e OAUTH2_SECRET_KEY=<your-oauth2-secret-key> mvantellingen/localshop

If 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=<secret-key-for-django> -v $(PWD)/config:/home/localshop/conf/ mvantellingen/localshop