All Projects → potatolondon → old-djangae-scaffold

potatolondon / old-djangae-scaffold

Licence: other
Barebones Djangae application for those who want to hit the ground running!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to old-djangae-scaffold

Appengine Maven Repository
Free Private Maven repositories hosted on Google App-Engine, backed by Google Cloud Storage and deployed in less than 5 minutes.
Stars: ✭ 201 (+145.12%)
Mutual labels:  appengine
gae-vue-webapp2-starter
A simple GAE Vue Webapp2 starter project.
Stars: ✭ 17 (-79.27%)
Mutual labels:  appengine
url2epub
Create ePub files from URLs
Stars: ✭ 35 (-57.32%)
Mutual labels:  appengine
Golang Samples
Sample apps and code written for Google Cloud in the Go programming language.
Stars: ✭ 3,088 (+3665.85%)
Mutual labels:  appengine
GAEPyPI
PyPI private package index on Google App Engine
Stars: ✭ 31 (-62.2%)
Mutual labels:  appengine
go-firebase
AppEngine friendly Firebase for Go (Golang)
Stars: ✭ 26 (-68.29%)
Mutual labels:  appengine
Bots Framework
Golang framework to build multilingual bots for messengers (Telegram, FB Messenger, Skype, Line, Kik, WeChat) hosted on AppEngine, Amazon, Azure, Heroku or standalone
Stars: ✭ 189 (+130.49%)
Mutual labels:  appengine
gae-postgres
Connect to Cloud SQL for PostgreSQL from Google App Engine
Stars: ✭ 23 (-71.95%)
Mutual labels:  appengine
luceneappengine
This project provides a directory useful to build Lucene and Google App Engine powered applications
Stars: ✭ 16 (-80.49%)
Mutual labels:  appengine
gae blog
GAE Blog is a minimalist blog meant to be used with Google App Engine.
Stars: ✭ 16 (-80.49%)
Mutual labels:  appengine
compojure-appengine-sample
Sample Compojure app with deployment to Google App Engine
Stars: ✭ 12 (-85.37%)
Mutual labels:  appengine
deploy-appengine
A GitHub Action that deploys source code to Google App Engine.
Stars: ✭ 184 (+124.39%)
Mutual labels:  appengine
flem
Flem is a local emulator for the App Engine Flexible Environment.
Stars: ✭ 20 (-75.61%)
Mutual labels:  appengine
Rooms
Ephemeral conference rooms powered by Twilio and Google App Engine
Stars: ✭ 234 (+185.37%)
Mutual labels:  appengine
ud859
Udacity course ud859 with Go
Stars: ✭ 18 (-78.05%)
Mutual labels:  appengine
Datastore
(AE|Cloud) Datastore Wrapper
Stars: ✭ 198 (+141.46%)
Mutual labels:  appengine
go-poly-tenant
Go + Polymer MultiTenancy on AppEngine
Stars: ✭ 22 (-73.17%)
Mutual labels:  appengine
rdm-app
Code for the rdm.openlighting.org site
Stars: ✭ 17 (-79.27%)
Mutual labels:  appengine
GuideApp
👍 [Android] [Google App Engine] Application that displays the cities services. (Restaurants, hotels, attractions, etc.)
Stars: ✭ 19 (-76.83%)
Mutual labels:  appengine
Processor
Ontology-driven Linked Data processor and server for SPARQL backends. Apache License.
Stars: ✭ 54 (-34.15%)
Mutual labels:  appengine

{% if False %}

The Djangae Project Template

This is a barebones Django project template configured for use on App Engine using Djangae

How to use this to create your project

To get started:

  • Install any supported Django version ($ pip install Django==1.11)
  • Run this command replacing projectname with your desired project name:
$ django-admin.py startproject  --template https://github.com/potatolondon/djangae-scaffold/zipball/master  --extension py,yaml,md  projectname
  • Run cd projectname && ./install_deps to install dependencies into a 'sitepackages' folder which is added to the path.
  • Run python manage.py check --deploy --settings=projectname.settings_live to run all security checks. Replace projectname with your new app name.
  • Run python manage.py runserver

Each time you run the install_deps script helper your sitepackages will be wiped out and reinstalled with pip. The SDK will only be downloaded the first time (as it's a large download).

Deployment

Create a Google App Engine project. Edit app.yaml and change application: djangae-scaffold to application: your-app-id. Then, if you're in the djangae-scaffold directory, run:

$ appcfg.py update ./

If you have two-factor authentication enabled in your Google account, run:

$ appcfg.py --oauth2 update ./

Custom Domains

There is currently a bug in App Engine which means that HSTS headers are stripped from responses served from a custom domain. If you're using HTTPS on a custom domain then you should make a request to Google to get your domain whitelisted for HSTS.

Troubleshooting

If you are on OS X and using Homebrew-ed Python, you might get the following error when running ./install_deps:

error: must supply either home or prefix/exec-prefix -- not both

This is a known issue and a possible workaround is to make an "empty prefix" by default by adding a ~/.pydistutils.cfg file with the following contents:

[install]
prefix=

License

Copyright 2014–2017 Potato London Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

{% endif %}

{{ project_name }} project

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].