Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/evilfreelancer/merklion-chat
- Owner: EvilFreelancer
- Created: 2018-10-01T21:09:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-05T01:37:07.000Z (over 6 years ago)
- Last Synced: 2024-10-29T20:07:57.561Z (3 months ago)
- Topics: application, demo, docker, docker-compose, laravel, merklion, redis, socket-io
- Language: PHP
- Homepage:
- Size: 416 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-blockchainNow 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/ -REnd 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!