https://github.com/happyRip/Ephemeral-Chat
Real time chat application created with Phoenix framework and deployed on fly.io
https://github.com/happyRip/Ephemeral-Chat
chat chat-application chatroom elixir phoenix phoenix-framework
Last synced: 4 months ago
JSON representation
Real time chat application created with Phoenix framework and deployed on fly.io
- Host: GitHub
- URL: https://github.com/happyRip/Ephemeral-Chat
- Owner: happyRip
- Created: 2022-04-23T12:10:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-30T23:16:13.000Z (over 1 year ago)
- Last Synced: 2024-08-01T13:28:09.892Z (7 months ago)
- Topics: chat, chat-application, chatroom, elixir, phoenix, phoenix-framework
- Language: Elixir
- Homepage: https://chat.happy.rip
- Size: 98.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ephemeral Chat
[](https://github.com/happyRip/Ephemeral-Chat/actions/workflows/deploy.yml)
[](https://github.com/happyRip/Ephemeral-Chat/actions/workflows/status.yml)Real time chat application created with Phoenix framework and deployed on fly.io
## Development
The project's development environment relies on [`Docker`](https://www.docker.com/) and [`docker compose`](https://github.com/docker/compose). To install them please head over to please head over to respective installation guides:
* [`Docker`](https://docs.docker.com/engine/install/)
* [`docker compose`](https://github.com/docker/compose#where-to-get-docker-compose)When the dependency requirements are met you need to clone the project to your workstation. Notice that neither `Elixir` nor `postgresql` need to be installed on your machine. The whole app is going to be working in a contenerized environment.
```
git clone https://github.com/happyRip/Ephemeral-Chat.git
cd Ephemeral-Chat
```Then build the containers and setup the project next
```
docker compose build
docker compose run --rm web mix setup
```All that's left is to run the app
```
docker compose up
```Now head over to http://localhost:4000/ and check if the app is working correctly.
You can setup an alias to run `mix` commands through the docker container
```
alias mix='docker compose run --rm web mix'
```If you encounter any problems please [create an issue](https://github.com/happyRip/Ephemeral-Chat/issues/new/choose).