https://github.com/alvarowolfx/xinga.me
https://github.com/alvarowolfx/xinga.me
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alvarowolfx/xinga.me
- Owner: alvarowolfx
- Created: 2017-07-12T20:56:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T21:01:10.000Z (about 3 years ago)
- Last Synced: 2024-04-14T15:19:45.591Z (about 1 year ago)
- Language: Go
- Homepage: http://xinga-me.appspot.com
- Size: 99.6 KB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xinga.me
> Api de Ofensas Gratuitas. Inspirado por [Guia do Xingamento das Galáxias](https://blog.bytequeeugosto.com.br/guia-do-xingamento-das-galaxias/)## Como utilizar
### Web
http://xinga-me.appspot.com/
### Api
http://xinga-me.appspot.com/api
### Slack
Está disponível no slack através do Slash Command no endereço *http://xinga-me.appspot.com/slack*
### Docker
Tenha certeza de ter o [Docker](https://www.docker.com/get-started) instalado na sua máquina.
Para buildar a imagem Docker, rode o seguinte comando:
```shell
$ docker build . -t xinga-me
```Para executar um container, defina uma variável de ambiente `PORT` e rode o seguinte comando:
```shell
$ export PORT=8000$ docker run --env "PORT=$PORT" -p $PORT:$PORT xinga-me
```### Docker compose
Para executar o docker-compose, defina uma variável de ambiente `PORT` e rode o seguinte comando:
```shell
$ export PORT=8000$ docker-compose up
```## Referencias
* Obtida do blog post [Byte Que Eu Gosto - Guia do Xingamento das Galáxias](https://blog.bytequeeugosto.com.br/guia-do-xingamento-das-galaxias/)