converser 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
converser 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
converser 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 Readme
开发语言 C/C++
操作系统 未知
软件类型 开源软件
所属分类 游戏/娱乐
开源组织
地区 不详
投 递 者 首席测试
适用人群 未知
收录时间 2021-12-24

软件简介

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
展开阅读全文

代码

评论

点击引领话题📣
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
0 评论
0 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部
返回顶部
顶部