Giter Site home page Giter Site logo

lvyeshufang / localshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mvantellingen/localshop

0.0 2.0 0.0 1.2 MB

local pypi server (custom packages and auto-mirroring of pypi)

License: MIT License

Dockerfile 0.24% Makefile 0.12% Shell 0.01% Python 47.53% CSS 38.23% HTML 13.87%

localshop's Introduction

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

localshop's People

Contributors

mvantellingen avatar jezdez avatar llonchj avatar asfaltboy avatar bmcorser avatar lovato avatar jalaziz avatar jaysonsantos avatar dbrgn avatar bsdlp avatar kairichard avatar thedrow avatar xordoquy avatar wtayyeb avatar philpep avatar posborne avatar erickwilder avatar lisael avatar daevaorn avatar jturnbull avatar msabramo avatar richleland avatar rcoup avatar sakti avatar simlun avatar graingert avatar vbabiy avatar xhuang-hulu avatar yunmanger1 avatar

Watchers

James Cloos avatar Yepeng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.