Git Product home page Git Product logo

alpha-blog's Introduction

Alpha Blog

Alpha Blog is a blogging website that features basic blogging capabilities - including creating, editing, and deleting blog posts - and allows users to comment on and rate posts.

Click here to see a live example of the site.

Running Alpha Blog

Alpha Blog was built with Python 2.7.12, the webapp2 Python web framework, and Google App Engine. User account information and blog post information, including blog content, ratings, and comments, are stored using the Google Datastore NDB Client Library.

To run the website locally:

  1. Fork or download the code from GitHub

  2. Download and install Google App Engine SDK

  3. Navigate to the directory containing Alpha Blog's yaml file and run the command dev_appserver.py ./

> cd my_path/.../alpha-blog
> dev_appserver.py ./
  1. Open your browser and navigate to http://localhost:8080

Alpha Blog was designed to be run on the Google Cloud Platform. See this link for information on developing and deploying projects using the Google App Engine Python Standard Environment.

Creating an account

To create an account, click the "Signup" button on Alpha Blog's home page and enter the requested information. Usernames and passwords must be at least three characters long, and can contain letters, numbers, dashses (-), and underscores (_).

Logging in to your account

To log in to your account, click the "Login" button on the home page and enter your account information. Once you've successfully logged in, you will be redirected to your home page.

When you are logged in, your username will appear in the upper right corner of the screen. When you are looking at someone's blog, the author's name will appear on the left hand side of the blog's navigation bar.

Creating, editing, and deleting blog posts

To create, edit, or delete blog posts, log in to your account and use the "New Post", "Edit", and "Delete" buttons. The "New Post" button is located on your home page, and the "Edit" and "Delete" buttons appear when you click on an individual post.

Note that you can only edit and delete your own posts!

Commenting on a blog post

You can comment on any blog post - including your own - but you must be logged in first. You also must be logged in to edit and delete your own comments.

Caution - Currently, when the owner of a blog post deletes the post, all of the associated comments are also deleted, so be aware that your comments can disappear at any time!

Rating a blog post

Click on the Like or Dislike buttons below an individual blog post to rate the post. As of right now, you can't change the rating that you give a post, so use your rating powers carefully! When you like a post, the word Like turns blue. When you dislike a post, the word Dislike turns red. You must be logged in to the site to rate a post, and you can't rate any of your own posts.

License

This project is released under the MIT License.

alpha-blog's People

Contributors

lmitchell4 avatar

Watchers

James Cloos avatar  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.