From: Shane Jaroch Date: Thu, 6 Aug 2020 01:11:19 +0000 (-0400) Subject: update readme X-Git-Tag: 0.0.2~4 X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=e1f6b6499d180ec8906b7d5642e23494c419f95e;p=nutratech%2Fusda-sqlite.git update readme --- diff --git a/README.rst b/README.rst index 395f7a7..f64d7ef 100644 --- a/README.rst +++ b/README.rst @@ -11,11 +11,18 @@ Pypi page: https://pypi.org/project/nutra Building the database ######################### -1. Inside ``/data`` folder, run :code:`bash setup.sh` +1. Install ``access2csv`` dependency, :code:`git submodule update --init` -2. Now run :code:`python3 process.py` -3. Create the database with :code:`sqlite3 nutra.db` +2. Download database and process into CSV files, + +.. code-block:: bash + + cd data + bash setup.sh + python3 process.py + +3. Create the database with :code:`sqlite3 nutra.db`, AND FOLLOW STEP 4 FROM INSIDE THE SQL SHELL 4. Create the tables, import the data, and save: