Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.51 KB

README.md

File metadata and controls

43 lines (26 loc) · 1.51 KB

Expense Tracker

Build Status Coverage Status

A simple Pyramid app for listing and displaying expenses.

Authors:

Routes:

  • / - the home page and a listing of all expenses
  • /new-expense - to create a new expense
  • /expense/{id:\d+} - the page for an individual expense
  • /expense/{id:\d+}/edit - for editing existing expenses
  • /expense/{cat:\w+} - list all expenses by category

Set Up and Installation:

  • Clone this repository to your local machine.

  • Once downloaded, cd into the expense_tracker directory.

  • Begin a new virtual environment with Python 3 and activate it.

  • cd into the next expense_tracker directory. It should be at the same level of setup.py

  • pip install this package as well as the testing set of extras into your virtual environment.

  • $ initialize_db development.ini to initialize the database, populating with random models.

  • $ pserve development.ini --reload to serve the application on http://localhost:6543

To Test

  • If you have the testing extras installed, testing is simple. If you're in the same directory as setup.py type the following:
$ py.test expense_tracker