Commit e1b41ee6 authored by French, Robert's avatar French, Robert
Browse files

Git Ready for Inspirational Quotes

parent cf17d983
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
Inspirational Quote Generator
============================

## Setup
```bash 
git clone git@code.ornl.gov:git-it-together/inspirational-quote-generator.git
cd inspirational-quote-generator
./bin/build_env.sh
```

## Usage
```bash
./bin/quote_gem
```

## Development
```bash
# hack away!
./bin/test.sh
```

bin/build_env.sh

0 → 100755
+5 −0
Original line number Diff line number Diff line
#!/bin/bash
pyvenv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
+3 −1
Original line number Diff line number Diff line
print("hello")
from . import quote_db
quotes = quote_db.new("quotes.json")
print(quotes.random_quote())

quotes.json

0 → 100644
+16 −0
Original line number Diff line number Diff line
{
    "intros": [
        "Hello darkness, my old friend.",
        "Good morning!",
        "Version control GITing you down?"
    ],
    "bodies": [
        "I've come to talk with you again.",
        "It's going to be a bright, bright, bright sun-shiny day!"
    ],
    "closings": [
        "Because a vision softly creeping",
        "No place like Oak Ridge for Neutrons and Flops",
        "I believe you can do it!"
    ]
}