[PYTHON] Introducing gae-init to launch CMS on GAE in 5 minutes

Introducing gae-init (http://docs.gae-init.appspot.com), a Python framework that claims to be the easiest way to create a web application on GAE (standard environment).

Preparation

"In 5 minutes" is not necessarily an exaggeration if you have experience creating projects on GAE, and there is little work to do. First, install the required environment at once (eg macOS Homebrew).

$ curl https://raw.githubusercontent.com/gae-init/gae-init/master/bin/requirements_osx_brew.sh | bash

Then clone the project and install npm

$ git clone https://github.com/gae-init/gae-init.git hello
$ cd hello
$ npm install

Ready to go.

To start a local server

$ gulp

So, to `` `http: // localhost: 3001```

スクリーンショット 2017-06-17 11.27.01.png

A screen like this is displayed. To deploy

$ gulp deploy --project=<YOUR_PROJECT_ID>

It ends with. You can now deploy it like https://helloworld-152405.appspot.com.

Feature

The product is based on Flask

Etc. are used.

Gulp installs, compiles, compresses resources, even deploys to server startup, so there are very few commands to remember. Also, because it uses Bootstrap, it looks and is easy to use. And the management screen is prepared from the beginning like a framework made by Python.

スクリーンショット 2017-06-17 14.14.37.png スクリーンショット 2017-06-17 11.22.58.png

Furthermore, the User model is prepared from the beginning, and social login is also possible by setting from the management screen without writing any code.

スクリーンショット 2017-06-17 11.23.46.png スクリーンショット 2017-06-17 11.26.04.png

Summary

Originally it is a simple GAE for deployment, but as for the framework, you can use something that is not dedicated to GAE while collecting a small amount of information, or even if you find a dedicated framework, development has stopped long ago, so you can start it for free. I think it's difficult to enjoy the convenience.

In that respect, although it is by no means active (excuse me), gae-init, which has been under development since 2013 and is unique from installation to deployment, is a project that should be paid more attention to. think.

gae-init http://docs.gae-init.appspot.com GitHub https://github.com/gae-init

Recommended Posts

Introducing gae-init to launch CMS on GAE in 5 minutes
To write to Error Repoting in Python on GAE
How to deploy a Django app on heroku in just 5 minutes
[Python] Pandas to fully understand in 10 minutes
Books on data science to read in 2020
How to write urlfetch unittest on GAE / P
Launch a simple password-protected search service in 5 minutes