https://github.com/condef5/drupvon-chat
Prueba el demo aquí https://drupvon-chat.herokuapp.com/
https://github.com/condef5/drupvon-chat
Last synced: 7 months ago
JSON representation
Prueba el demo aquí https://drupvon-chat.herokuapp.com/
- Host: GitHub
- URL: https://github.com/condef5/drupvon-chat
- Owner: condef5
- License: mit
- Created: 2017-06-02T16:16:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T16:46:09.000Z (about 9 years ago)
- Last Synced: 2025-03-16T02:48:20.807Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.72 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React + ES6 + Kemal Chat Example
Chat básico construido sobre crystal, react y es6.
## Requirements
* Crystal 0.22.0
* Node (I have the v7.10.0)
* YARN (I have the v0.24.5)
## Installation
Clona este repositorio :
```sh
$ git clone https://github.com/condef5/drupvon-chat.git
$ cd drupvon-chat
```
Antes de correr el programa tienes que instalar las dependencias:
```sh
$ shards install
$ git clone https://github.com/condef5/drupvon-chat.git
$ yarn install
```
## Run Project
Tú pueddes correr este programa de dos formas:
Compilando/ejecutando el proyecto usando: ` $ crystal build src/app.cr --release`
Corriendo el ejecutable: ` $ ./app `
Una vez que tú corres el programa, tú puedes abrir tu navegador y en [localhost:3000](http://localhost:3000) y ver la actual app.
## Deploy
Para subir a producción esta app con heroku, necesitas una cuenta e instalar el toolbet de heroku, antes asegurate de cambiar el socket `ws` por `wss` en `client/dist/app.js` y ejecutar `$ yarn build` y por último compilar de nuevo el app con `$ crystal build src/app.cr --release`, ahora puedes ejecutar los siguientes comandos :
```sh
$ heroku create drupvon-chat --buildpack https://github.com/crystal-lang/heroku-buildpack-crystal
$ git remote -v
$ git add .
$ git commit -m "description of you commit"
$ git push heroku master
```