Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 807 Bytes

setup-local.md

File metadata and controls

47 lines (31 loc) · 807 Bytes

Set up local environment

Requirements

  • Java 8
  • Python3.9

Get source code repository

Run:

git clone https://github.com/frances-ai/defoe_lib

This will clone the source code repository into a defoe_lib directory.


Setup environment

Install Java

See instructions here: Java install

Install Python3.9

See instruction here: python3.9 install

For Apple M1 chips machine, export a property:

export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

Install dependencies

In the defoe_lib directory, run

pip install -r requirements.txt

Start the grpc server

In the defoe_lib directory, run

python start_defoe_grpc_server.py