/rfp-factory

This Python script creates static web pages for the purpose of displaying question and answer text in a sectioned format.

Primary LanguageHTMLMIT LicenseMIT

RFP Factory

This Python script creates static web pages for the purpose of displaying question and answer text in a sectioned format.

Development To-Do

  1. Write tests.
  2. Add flashing of messages to the HTML.
  3. Make the factory write a warning comment to the top of any output file, letting the user know that the file was automatically generated and that they shouldn't change its contents manually if they want to be able to re-create it using the factory.

Requirements

$ pip install -r requirements.txt

Usage

To generate an RFP store in output/index.html:

$ python factory.py your-data.csv

An example source file is supplied in app/static/example.csv. An example output file can be viewed at app/static/sample.html, or you can generate one with:

$ python factory.py app/static/example.csv

Acknowledgements

Thank you to datademofun for the template at https://github.com/datademofun/heroku-basic-flask/

Thank you to Heroku for the tutorials and hosting the site.

Thank you to Start Bootstrap for the simple-sidebar template which was adapted for this tool's output.