Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evilfreelancer/merklion-chat

Merklion demo chat application
https://github.com/evilfreelancer/merklion-chat

application demo docker docker-compose laravel merklion redis socket-io

Last synced: about 1 month ago
JSON representation

Merklion demo chat application

Awesome Lists containing this project

README

        

![alt text](demo.png "Demo Image")

# Merklion Chat Demo App

This chat application based on Docker containers, here is the list:

* mysql - Database server
* phpmyadmin - For management of MySQL
* redis - Was added for support of multirooms
* socket - Socket.IO server for communication between clients
* laravel - Login pages, API and VueJS

## How to use

### 1. Preparation

Clone the repo and change your work directory to root of sources

git clone https://github.com/EvilFreelancer/merklion-chat.git
cd nowescape-blockchain

Now you need prepare docker compose config file:

cp docker-compose.yml.dist docker-compose.yml

Inside `docker-compose.yml` you need change the values to the ones you
need, for example you do not want to tun this project on `80` port, to
fix that you need just change this line `80:80` to what you need (`7777:80`).

Run first iteration of Docker environment

docker-compose up -d

### 2. Install all required components

I assume that there are no development tools on your computer, so you
need to login to Laravel container:

docker-compose exec laravel bash

Fix write permissions on a few important folders

chown apache:apache bootstrap/ -R
chown apache:apache storage/ -R

End exit from container

exit

### 3. Set up the application

Login into container

docker-compose exec laravel bash

Create database and seed tables

php artisan migrate
php artisan db:seed

## The End

Now you just need open following page http://localhost in your browser
and you will get the result of my work.

Thanks for reading!