Skip to content

AmitaChauhan/chanslate

 
 

Repository files navigation

This is the Chanslate app.

Deployment

This can be deployed inside a docker container. The container is available on the docker index as musicallyut/chanslate.

Chanslate can be executed after setting the ROOT_URL, MONGO_URL and METEOR_SETTINGS environment variables. Needless to say, you should have mongo installed on the host machine.

Example execution:

docker run 
       -p 3000:3000
       -e "MONGO_URL=mongodb://188.226.251.47:27017/chanslate" 
       -e "ROOT_URL=http://chanslate.in" 
       -e "METEOR_SETTINGS=$(cat settings.json)"
       musicallyut/chanslate

And Chanslate should be available at http://localhost:3000.

Development on Mac OSX

If you are using docker on Mac via boot2docker, don't forget to forward port 3000 from your VirtualBox or VMWare.

Format of settings.json

Where the settings.json should be of the form:

{
    "GOOGLE_TRANSLATE_API"         : "your_api_key"
  , "BING_TRANSLATE_CLIENT_SECRET" : "your_client_secret"
  , "BING_TRANSLATE_CLIENT_ID"     : "your_client_id"
}

Running

meteor run --settings settings.json

Credits

This work draws heavily (in code as well as spirit) from ChatWorks. Check out their github page too.

About

A meteor based chat room + translator.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.5%
  • CoffeeScript 25.8%
  • CSS 11.7%