Skip to content
A web service that returns random quotations from a YAML file.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
quote
config.py
contents.yml
readme.md
run.py

readme.md

Quote

A web service that returns random quotations from a YAML file.

Usage

Requirements

  • flask
  • pyyaml

Configuration

Quotations are stored in contents.yml.

Starting the Server

Start the server with run.py. By default it will be accessible at localhost:9999. To make the server world-accessible or for other options, see run.py -h.

If you're having trouble configuring your sever, I wrote a blog post explaining how you can get Flask, uWSGI, and Nginx working together.

Bugs and Feature Requests

Feature Requests

None.

Known Bugs

None.

License Information

Written by Gem Newman. Website | GitHub | Twitter

This work is licensed under Creative Commons BY-SA 4.0.

Remember: GitHub is not my CV.

You can’t perform that action at this time.