daylio-csv-parser

Installation

Install system dependencies

Python

Python 3.6 or above.

Debian/Ubuntu

$ sudo apt-get install python3

Mac OS X

$ brew install python

SQLite

If you intend to create a SQLite database file from you data, ensure you install SQLite if it not builtin.

Debian/Ubuntu

$ sudo apt-get update
$ sudo apt-get install libsqlite3-dev
$ sudo apt-get update sqlite3

Mac OS X

$ brew install sqlite3

Clone

$ git clone git@github.com:MichaelCurrin/daylio-csv-parser.git

Install project dependencies

It is usually best-practice in Python projects to install into a sandboxed virtual environment, This will be locked to a specific Python version and contain only the Python libraries that you install into it, so that your Python projects do not get affected.

See can see this guide on how to Setup a Python 3 Virtual Environment if you want to install/upgrade Python or want to understand more about virtual environments. Otherwise continue below.

Create virtual environment:

$ cd <PATH_TO_REPO>
$ python3 -m venv venv
$ source venv/bin/activate

Install packages:

$ make install

You can now continue to the Usage doc.