Skip to content
Creating a mock-up for a company website
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.
company-app
static
.env
.gitignore
Pipfile
Pipfile.lock
Procfile
README.md
Untitled
app.py
pedipaws.sql
runtime.txt

README.md

PEDIPAWS(r)

Our mock business website is dedicated to providing your fur-baby with the pampering he/she deserves.

To view our company website please click here: PediPaws

Getting Started

We built the framework of our website using Python, HTML, and CSS.
We wrote a database using Postgres with 4 tables for services, appointments, groomers, and reviews.

Required Packages

* tornado
* boto3
* os
* queries
* markdown2

Required Libaries

* import tornado.ioloop
* import tornado.web
* import tornado.log
* import queries
* import markdown2
* import os
* import boto3

Issues Encountered

* Heroku - Heroku was potentially the biggest issue, with running our .sql file
  and having it load directly into our Heroku database.
  After several formatting attempts we were able to get it to run in Heroku using 
  'heroku pg:psql'
  There were a number of deployment erros that required the removal of the pipfile.lock,
  the pip environment, and everything had to be reinstalled into the pip virtual environment.
  After deployment, the app wouldn't run and this was resolved by going through 
  each Heroku log line by line.  
  This resulted in lost get submission and code reviews from the team.
* CSS - Getting the CSS to work the way we needed and wanted it to work.
* GitHub - Being the first time to use the advanced features of GitHub and working 
  as a group caused a few dilemmmas getting everything to push, pull, and merge properly.
* Databases: 
  1) Figuring out the right data types to use for each column.
  2) Sharing a local database to github. 
* Contact Us modal window: 
  1) Figuring out what python needs to successfully fill out and submit a form. 
  2) Making it work on 'any page' (since it's in the footer) 
  3) Getting it to send me an email!

Example Code

client = boto3.client(
    'ses',
    region_name='us-east-1',
    aws_access_key_id=os.environ.get('AWS_ACCESS_KEY'),
    aws_secret_access_key=os.environ.get('AWS_SECRET_KEY'))

ENV = Environment(
    loader=PackageLoader('company-app', 'templates'),
    autoescape=select_autoescape(['html', 'xml']))

def send_email (email, comments):
    response = client.send_email(
    Destination={
      'ToAddresses': ['example@gmail.com'],

Authors

* Katy Gibson
* Jessica Robinson
* Aaron Wilkinson
* Josh Ladwig
* Jared Stevens

Acknowledgments

PediPaws(r) wouldn't have been possible without Paul and his unending love for Mittens his beloved cat.

License

PediPaws(r) is the intellectual property of Team Awesome Code, LLC (r)

You can’t perform that action at this time.