Skip to content
Easier deployment of Django applications in the cloud.
Python Other
  1. Python 99.7%
  2. Other 0.3%
Branch: master
Clone or download
wangxf123456 Do not use unnecessary constraints for Django version. (#364)
* Do not use unnecessary constraints for Django version.

* Add Django constraint for requirements-google.txt.

* Fix
Latest commit d316b1e May 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Fix failing continuous integration (#393) May 14, 2019
django_cloud_deploy
scripts Fix release script. (#292) Mar 12, 2019
.gitignore Enable pytype for django-cloud-deploy. (#172) Jan 14, 2019
CLOUDIFY_HOWTO.md Add documentation for cloudify (#381) Apr 23, 2019
CONTRIBUTING.md Enforce google style in presubmit. Fixes #2. (#46) Nov 6, 2018
DEPLOY_NEW_HOWTO.md Add documentation for cloudify (#381) Apr 23, 2019
LICENSE Initial commit. Oct 15, 2018
MANIFEST.in Missing filetype .css-tp in MANIFEST.in (#150) Dec 14, 2018
QUICKSTART.md Create a Google-style Quickstart guide Jan 25, 2019
README.md Update to reflect feedback mechanism (#391) Apr 29, 2019
setup.cfg Enable pytype for django-cloud-deploy. (#172) Jan 14, 2019
setup.py

README.md

Django Deploy

Django Deploy is an experimental tool designed to make it easier to deploy new and existing Django applications on public clouds (e.g. Kubernetes Engine).

Currently, Django Deploy can only

Django Deploy is an experimental project not officially supported by Google.

Here is an example usage:

$ django-cloud-deploy new
11 steps to setup your new project

[1/11] In order to deploy your application, you must allow Django Deploy to access your Google account.
Press [Enter] to open a browser window to allow access
[2/11] Enter a Google Cloud Platform Project ID, or leave blank to use
[django-799931]: my-cool-site
[3/11] Enter a Google Cloud Platform project name, or leave blank to use
[Django Project]: My Cool Site
[4/11] In order to deploy your application, you must enable billing for your Google Cloud Project.
You have the following existing billing accounts:
1. My Billing Account
Please enter your numeric choice or press [Enter] to create a new billing account: 1
[5/11] Enter a password for the default database user "postgres"
Password:
Password (again):
[6/11] Enter a new directory path to store project source, or leave blank to use
[/usr/local/google/home/bquinlan/my-cool-site]:
[7/11] Enter a Django project name, or leave blank to use
[mysite]: mycoolsite
[8/11] Enter a Django app name, or leave blank to use
[home]: mycoolapp
[9/11] Enter a name for the Django superuser, or leave blank to use
[admin]: myname
[10/11] Enter a password for the Django superuser "myname"
Password:
Password (again):
[11/11] Enter a e-mail address for the Django superuser, or leave blank to use
[test@example.com]: myname@example.com

Getting Started

For the fastest path to a working Django application running in the cloud, see the Quickstart.

Deploy an existing application

For detailed instructions on how to deploy an existing Django project, see the HOWTO.

Building a new application

For detailed instructions on how to create a new Django project and then deploy and update it, see the HOWTO.

Development Workflow (Linux)

Verify that Python 3.5 or later is installed:

python3 -V

Clone the project and cd to it's directory:

git clone https://github.com/GoogleCloudPlatform/django-cloud-deploy
cd django-cloud-deploy

Create a new virtual environment:

virtualenv -p python3 venv
source venv/bin/activate

Install Django Deploy in edit mode:

pip install -e .

Run it:

django-cloud-deploy new

Code modifications will be reflected in the next run of django-cloud-deploy.

Issues

If you encounter any technical issues during the process you will be asked to submit a ticket to our issue tracker.

Please also use the issue tracker for feedback and/or feature request.

Contribute

Check out our CONTRIBUTING to find out how you can help.

License

This project is licensed under the Apache License - see the LICENSE file for details.

This is not an officially supported Google product.

Status

Django Deploy is an experimental project not officially supported by Google.

You can’t perform that action at this time.