Giter VIP home page Giter VIP logo

converser's Introduction

Converser

Build Status

An interesting game of telephone

Building

Building locally is pretty straight forward

Prerequisites

Local dependencies

  1. npm (for tyche)
  2. yarn (only needed if you want locally installed deps)
  3. composer (only needed if you want locally installed deps)
  4. grammarly/rocker
  5. tyche
  6. docker
  7. docker-compose

An environment script

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"

Installing dependencies locally

The code's dependencies, as installed by this step, are not used to run the project. It's only useful if you editor does auto-complete.

tyche develop install

Now, after a few minutes, you'll have everything installed.

Starting the development server

tyche develop start

This command will start all the development services, and build all required dependencies inside docker.

Running production locally

docker-compose -f docker-compose-prod.yml up

Building containers from scratch

tyche build

Deploying containers

Reminder: Deployment containers have your set environment tokens embedded

tyche bump --set vVERSION

converser's People

Contributors

withinboredom avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.