usc-isi-i2 / datamart-upload

REST api and upload functions for datamart project
MIT License
1 stars 0 forks source link

Install

Please follow the order of installation here, otherwise it may failed: 1.1. Clone and installd3m package from Here

2.1. Clone and install common-primitives package from Here and checkout to hash tag 5c43e65d306a4f36d53db2fb497c9869e2fb7294.

2.2. If you are using MacOS, please go to the common-primitives package and edit the setup.py file: rename the dependency of tensorflow-gpu to tensorflow.

3.1. Clone and install dsbox-primitives from Here

4.1 Clone and install datamart-userend from Here

5.1 Run pip install -r requirements.txt to install remained requirement packages.

5.2 Run pip install -e . to install datamart upload package.

6.1 Run python -m spacy download en_core_web_sm to install spacy dependency.

6.2 Try to run python webapp-openapi.py to see if it works or not.

7.1 If everything OK, you can now open a browser and go to the REST API page on 127.0.0.1:9000.

7.2 If you prefer to run with python api, refer to the example codes Here

Schema documentation

All the documentation about Datamart Dataset schema and the Data download schema is available at:

https://datamart-upload.readthedocs.io/en/latest/