Giter Site home page Giter Site logo

blah's Introduction

blah: A Simple Flask Blog

Requirements

  • Flask (easy_install flask)
  • markdown (easy_install markdown)
  • mongoDB (easy_install pymongo)
  • requests (easy_install requests)
  • Python 2
  • A reCAPTCHA account

Features

  • Create posts in markdown
  • gist support in posts (see blah/extensions.py)

Setup

  1. Clone the git repository if you haven't already
    git clone git://github.com/brennie/blah.git -O blog
    This will clone it into blog/
  2. Install and set up mongoDB and Flask
  3. Run setup.py and follow the instructions

Updating

To update blah to the latest version, just enter the top directory and run:
git pull

Development Server

To run the development server, run app.py in the main directory. It creates a server on localhost:5000 to test the app. The development server will serve static files and has debug mode enabled.

Production Server

Run uwsgi blah.ini to start the development server (you may want to configure this to suit your needs first). Check out the nginx.conf in contrib/ for a sample nginx configuration.

blah's People

Stargazers

 avatar  avatar

Watchers

 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.