Giter Club home page Giter Club logo

myyum's Introduction

MyYUM

MyYUM is a web-based YUM repository manager, where each user can manage his own set of YUM repository completly from within his web browser. It supports creation of repositories and upload and removal of packages.

Using Windows Azure Storage

It's very simple when using the pyazure library. Put the following into your localsettings.py:

Using Django-Social-Auth

This project is prepared to be used with django-social-auth. Just enable the backend you plan to use and drop in the respective credentials. If you plan on using a provider beyond Google, Yahoo or GitHub please also add the respective button in the templates/login.html.

In order to enable GitHub login, for example, add the following lines to your localsettings.py:

AUTHENTICATION_BACKENDS = (
    'social_auth.backends.contrib.github.GithubBackend',
)

GITHUB_APP_ID     = os.environ['GITHUB_CLIENTID']
GITHUB_API_SECRET = os.environ['GITHUB_SECRET']

Using LDAP auth

In an enterprise setting LDAP auth is probably more interesting and can be achieved in the following way. First install the django-auth-ldap package. Then put the following into your localsettings.py:

import ldap
from django_auth_ldap.config import LDAPSearch

AUTHENTICATION_BACKENDS = (
    'django_auth_ldap.backend.LDAPBackend',
    'django.contrib.auth.backends.ModelBackend',
)

AUTH_LDAP_SERVER_URI = "ldap://10.41.68.201"

AUTH_LDAP_BIND_DN = ""
AUTH_LDAP_BIND_PASSWORD = ""
AUTH_LDAP_USER_SEARCH = LDAPSearch("dc=figo,dc=me", ldap.SCOPE_SUBTREE, "(cn=%(user)s)")

AUTH_LDAP_USER_ATTR_MAP = {"first_name": "givenName", "last_name": "sn"}

myyum's People

Contributors

02strich avatar

Watchers

 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.