Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Latest commit

 

History

History
76 lines (42 loc) · 1.94 KB

README.md

File metadata and controls

76 lines (42 loc) · 1.94 KB

proposer

Image

Introduction

Proposer is a Flask powered script that automatically generates html proposals from yaml data files. It has been tested on the following configuration:

  • MacOS X 10.7.5
  • Python 2.7.5

Requirements

Proposer requires the following in order to run properly:

Quick Start

Open Terminal

Applications > Terminal.app

Clone repo (inside Terminal) - First time only

cd path/to/downloads
git clone https://github.com/reubano/proposer.git

Install python modules (inside Terminal) - First time only

cd path/to/downloads/proposer
sudo easy_install pip
sudo pip install -r requirements.txt

Create proposals (inside Terminal) - Any time

cd path/to/downloads/proposer
./manage.py propose

Scripts

Proposer comes with a built in script manager manage.py. Use it to create proposals.

Usage

path/to/downloads/proposer/manage.py propose [-h] [-s STYLE] [-i INFO]

Examples

The following examples assume you have first run cd path/to/downloads/proposer

Use the default info.yml file

./manage.py propose

Use a custom template style

./manage.py propose -s research

Use a custom yaml file (you can drag and drop the file into the terminal instead of typing in the path)

./manage.py propose -i path/to/custom.yml

Show the help menu

./manage.py propose -h

Configuration

All proposal details are located in the yaml file info.yml.

License

Proposer is distributed under the BSD License, the same as Flask on which this program depends.