GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FatalTouch/BlogExample: Sample Google App engine site to post blogs!

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
entities
entities
 
 
handlers
handlers
 
 
utility
utility
 
 
views
views
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.yaml
app.yaml
 
 
index.yaml
index.yaml
 
 
main.py
main.py
 
 

Repository files navigation

Sample Blog Example

This project is a sample blog editor with many features that should be in a standard blog editor. This project is created using Google App Engine with python extension. You can see live example of the project at
https://blogexample-158011.appspot.com/

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Google account, follow the link to get one.
https://accounts.google.com/signup

An app engine project on google developer console, follow the link to create one.
https://console.cloud.google.com/start

Latest version of python 2, follow the link to download.
https://www.python.org/downloads/

Installing

Install the google cloud sdk, follow the link to download, switch to your environment from the left pane if it's not windows.
https://cloud.google.com/sdk/docs/quickstart-windows

After downloading, follow the instruction on the quick-start page for your platform to properly initialize the gcloud sdk.

Then run the following command to install the app engine python extension.

gcloud components install app-engine-python

Now your environment is setup to work on this project.

Download this project as zip or clone it on your system.

Open up your terminal and cd to the root directory of the project.

To deploy locally use

dev_appserver.py .

You can browse the locally deployed project by navigating to module url.
Default url is http://localhost:8080/

Deployment

To deploy the configured app engine project in gcloud use.

gcloud app deploy

and then use gcloud app deploy index.yaml to deploy our db indexes too because sometimes they don't get deployed by default.

Use gcloud app browse to browse your project that is deployed on gcloud.

About the Code

This project uses google app engine along with Jinja2 templating engine to create a website that allows users to register, login, create,edit and delete blog posts, create,edit and delete comments on blogposts and like/unlike blogposts.

This project also uses some custom client side javascript for validation and ajax requests.

Built With

  • python - Main language used by the server side code
  • google app engine - Cloud computing platform
  • jinja2 - Templating engine
  • timeago.js - A jquery plugin to show relative time
  • bootstrap - Html, Css and Js framework
  • jquery - Javascript plugin for Dom manipulation
  • font-awesome - Vector icons

Contact

If you want to further improve this code, send a pull request or contact me at

[email protected]

About

Sample Google App engine site to post blogs!

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.