Skip to content

Commit

Permalink
Merge pull request #128 from matt-bernhardt/updated-readme
Browse files Browse the repository at this point in the history
Updates readme
  • Loading branch information
matt-bernhardt authored Jan 24, 2019
2 parents 2ddbf8d + 10ead6f commit 11321e4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,41 @@ Trapp provides several tools for the user to work with soccer data:

Each of these will be described in more detail as the project progresses. For now, efforts are focused on the first tool, an importer capable of harvesting spreadsheet data into the appropriate database tables.

## Installing

My hope is that this project can be installed in a comparable way to other python libraries. When I do so myself, the steps look like this:

```
git clone [email protected]:matt-bernhardt/trapp.git
cd trapp
pip install -r requirements.txt
python setup.py install
```

Following this, I establish the database credentials - which exist as four environment variables:

* TRAPP_DBHOST
* TRAPP_DBPWD
* TRAPP_DBSCHEMA
* TRAPP_DBUSER

For confirmation that everything is ready to go, the `check-db` verb is useful. The output should look something like:

```
(myvenv) $ trapp -v check-db
Checking database connection
Credentials:
dbuser: username
dbpwd: password
dbhost: host
dbschema: schema
<mysql.connector.connection.MySQLConnection object at 0x7ff2988f02b0>
MySQLCursorBuffered: (Nothing executed yet)
Warnings: None
```

## For more information

More information about this project can be found on the [Massive Report Data blog](http://www.massivereportdata.com/blog). To contact the author, please email Matt Bernhardt at matt [at] massivereportdata [dot] com or on Twitter at [@BernhardtSoccer](https://twitter.com/bernhardtsoccer).
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='trapp',
version='0.5.0-beta1',
version='0.5.0b2',
description='Link, analyze, and extend soccer data',
url='https://github.com/matt-bernhardt/trapp',
license=license,
Expand Down

0 comments on commit 11321e4

Please sign in to comment.