GithubHelp home page GithubHelp logo

andreipetre / djangae Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kirberich/djangae

0.0 0.0 0.0 5.72 MB

The best way to run Django on Google App Engine

Home Page: https://djangae.org

License: BSD 3-Clause "New" or "Revised" License

Python 99.59% HTML 0.41%

djangae's Introduction

Djangae

Join the chat at https://gitter.im/potatolondon/djangae build-status-image

The best way to run Django on Google Cloud.

Djangae (djan-gee) is a Django app that allows you to run Django applications on the Google Cloud platform, including (if you want to) using Django's models with Google Cloud Datastore as the underlying database.

🌍  Website  |   :octocat:  GitHub  |   :closed_book:   Docs  |   :busts_in_silhouette:  Google Group


Looking for Commercial Support?

Potato offers Commercial Support for all its Open Source projects and we can tailor a support package to your needs.

If you're interested in commercial support, training, or consultancy then go ahead and contact us at [email protected]


Note: Djangae is under heavy development, stability is not guaranteed. A 2.0 release will happen when it's ready. If you are using Django 1.11 / Python 2.7, please use the 1.x branch

Features

  • Hooks to manage a series of Google Cloud emulators to simulate the Google App Engine environment locally
  • A tasks app which implements "deferred" tasks on Google Cloud Tasks, and functions for iterating large datasets
  • Utility functions to discover information about the running environment
  • A series of security patches and checks to improve the security of your project
  • Test utils for testing code that uses the Cloud Tasks API
  • Apps for cross-request locking and efficient pagination on the Google Cloud Datastore

Supported Django Versions

Djangae currently supports Django 2.2.

Documentation

https://djangae.readthedocs.io/

Installation

See https://djangae.readthedocs.io/en/latest/installation/

Contributing to Djangae

Djangae is actively developed and maintained, so if you're thinking of contributing to the codebase, here is how to get started.

Get started with development

  1. First off, head to our Github page and fork the repository to have your own copy of it.
  2. Clone it locally to start setting up your development environment
  3. Run all tests to make sure your local version is working: tox -e py37

Pick an issue & send a pull request

If you spotted a bug in Djangae that you want to fix, it's a good idea to start off by adding an issue. This will allow us to verify that your issue is valid, and suggest ideas for fixing it, so no time is wasted for you.

For help with creating the pull request, check out Github documentation.

Code style

Code style should follow PEP-8 with a loose line length of 100 characters.

Need help?

Reach out to us on djangae-users mailing list.

Pull request requirements

For pull request to be merged, following requirements should be met:

  • Tests covering new or changed code are added or updated
  • Relevant documentation should be updated or added
  • Line item should be added to CHANGELOG.md, unless change is really irrelevant

Running tests

On setting up the first time, create a Python 3 virtualenv and install the prerequisites with

# install tox
pip install tox

# install the datastore emulator
gcloud components install cloud-datastore-emulator

If you don't have gcloud (the Google Cloud SDK) installed, installation instructions can be found here

For running the tests, you just need to run:

$ tox -e py37

You can run specific tests in the usual way by doing:

tox -e py37 -- some_app.SomeTestCase.some_test_method

djangae's People

Contributors

adamalton avatar andreipetre avatar armirusco avatar artoale avatar asendecka avatar bogdanl avatar dannymilsom avatar davidwtbuxton avatar flea89 avatar grzes avatar igniteflow avatar jacobg avatar kazade avatar kirberich avatar leekchan avatar lukebpotato avatar marcoazza avatar martinogden avatar mmoravcik avatar mrfuxi avatar nealedj avatar olasitarska avatar olibrook avatar owad avatar pablorecio avatar roganmurley avatar scottgulliver avatar seawolf42 avatar sleepyjames avatar stucox 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.