Giter Site home page Giter Site logo

morganshorter / djaodjin-deployutils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from djaodjin/djaodjin-deployutils

0.0 1.0 0.0 569 KB

commands used to deploy a Django webapp

License: BSD 2-Clause "Simplified" License

Makefile 0.89% Python 96.32% Shell 1.05% HTML 1.46% Dockerfile 0.28%

djaodjin-deployutils's Introduction

DjaoDjin deployutils

This Python module enables a Django or Flask project to seamlessly integrate behind the HTTP session manager reverse proxy. It will replace the default django.contrib.sessions and AUTHENTICATION_BACKENDS to decode sessions forwarded to your project by the HTTP session manager.

Tested with

  • Python: 3.7, Django: 2.2 (LTS), Django Rest Framework: 3.12
  • Python: 3.7, Django: 4.0 (latest), Django Rest Framework: 3.12
  • Python: 2.7, Django: 1.11 (legacy), Django Rest Framework: 3.9.4

More technical documentation

Install

Install deployutils into your environment

$ pip install djaodjin-deployutils

See the steps to integrate with a Django project.

Development

Clone the repository in a virtualenv and install the prerequisites

$ virtualenv _installTop_
$ cd _installTop_
$ source bin/activate
$ git clone https://github.com/djaodjin/djaodjin-deployutils.git
$ cd djaodjin-deployutils
$ pip install -r testsite/requirements.txt

Create the credentials file with a DJAODJIN_SECRET_KEY and the empty db.

$ make initdb

Run the web application

$ python manage.py runserver

Browse to http://localhost:8000

Release Notes

0.8.2

  • fixes exception in djd deploy
  • uses account_url_kwarg in AccountRedirectView for consistency

previous release notes

djaodjin-deployutils's People

Contributors

knivets avatar morganshorter avatar smirolo 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.