An interesting game of telephone
Building locally is pretty straight forward
Create a file called create_env.sh
at the root of the repo, with the following contents:
#!/bin/bash
echo export DB_NAME="converser"
echo export DB_HOST="rethunk"
echo export SMS="an sms number"
echo export CALL="phone number to call from"
echo export CALL_HOST="http://dev.converser.space:YOUR_PORT/"
echo export STRIPE_KEY="your stripe key"
echo export STRIPE_P_KEY="Your publishable stripe key"
echo export PLIVO_ID="Your plivo id"
echo export PLIVO_TOKEN="Your plivo token"
Then initialize your environment: eval "./create_env.sh"
The code's dependencies, as installed by this step, arenot used to run the project. It's only useful if you editordoes auto-complete.
tyche develop install
Now, after a few minutes, you'll have everything installed.
tyche develop start
This command will start all the development services, and buildall required dependencies inside docker.
docker-compose -f docker-compose-prod.yml up
tyche build
tyche bump --set vVERSION