(Apply for access to developer VPN and database credentials at developers@userfeeds.io)
- Change
NEO4J_AUTH=myneologin/myneopassword
inapi-local.docker.yml
- Connect to VPN
- Run
docker-compose -f api-local.docker.yml up --build
- The API will be available at http://localhost:8000/
Now you will be able to create your custom algorithms and add them to Userfeeds algortihm repository.
You can check status of the API by calling curl http://localhost:8000/status
from command line.
In order not to commit your credentials to repository we recommend to setup git secrets with following configuration:
git config core.hooksPath hooks &&
git secrets --add "POSTGRES_AUTH=\w+/\w+" &&
git secrets --add -a "POSTGRES_AUTH=secretLogin/secretPassword" &&
git secrets --add "NEO4J_AUTH=\w+/\w+" &&
git secrets --add -a "NEO4J_AUTH=myneologin/myneopassword"