Skip to content
Snippets Groups Projects
Commit 81b21593 authored by timothycarambat's avatar timothycarambat
Browse files

reorder docs

parent c4eb46ca
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,12 @@ As files are processed you will see data being written to both the `collector/ou ...@@ -34,6 +34,12 @@ As files are processed you will see data being written to both the `collector/ou
If collection fails at any point in the process it will pick up where it last bailed out so you are not reusing credits. If collection fails at any point in the process it will pick up where it last bailed out so you are not reusing credits.
### Running the document processing API locally
From the `collector` directory with the `v-env` active run `flask run --host '0.0.0.0' --port 8888`.
Now uploads from the frontend will be processed as if you ran the `watch.py` script manually.
**Docker**: If you run this application via docker the API is already started for you and no additional action is needed.
### How to get a Google Cloud API Key (YouTube data collection only) ### How to get a Google Cloud API Key (YouTube data collection only)
**required to fetch YouTube transcripts and data** **required to fetch YouTube transcripts and data**
- Have a google account - Have a google account
...@@ -42,10 +48,4 @@ If collection fails at any point in the process it will pick up where it last ba ...@@ -42,10 +48,4 @@ If collection fails at any point in the process it will pick up where it last ba
- ![GCP Project Bar](../images/gcp-project-bar.png) - ![GCP Project Bar](../images/gcp-project-bar.png)
- [Enable YouTube Data APIV3](https://console.cloud.google.com/apis/library/youtube.googleapis.com) - [Enable YouTube Data APIV3](https://console.cloud.google.com/apis/library/youtube.googleapis.com)
- Once enabled generate a Credential key for this API - Once enabled generate a Credential key for this API
- Paste your key after `GOOGLE_APIS_KEY=` in your `collector/.env` file. - Paste your key after `GOOGLE_APIS_KEY=` in your `collector/.env` file.
\ No newline at end of file
### Running the document processing API locally
From the `collector` directory with the `v-env` active run `flask run --host '0.0.0.0' --port 8888`.
Now uploads from the frontend will be processed as if you ran the `watch.py` script manually.
**Docker**: If you run this application via docker the API is already started for you and no additional action is needed.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment