Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Contunder authored Jan 29, 2022
1 parent 5945745 commit d91ae58
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# SymfChat_V2 : Symfony Chat with Websocket

A chat like Messenger with two views :
* A full screen view
* A view that can be integrated into a page / site

# Infos :

## Requirements :

You can update the project to higher versions.

* PHP 7.3.33
* MySQL / MariaDB
* [Symfony 5.4.3](https://symfony.com/download)
* [Composer](https://getcomposer.org/download/)

## Installation :

This project is a Symfony project to install, remember to change the database link in the .env file with your infrormation.

`DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"`

Then you just need to use the Composer installation and perform the migration with Doctrine in CLI.

`symfony composer install`
`symfony php bin/console make:migrations`
`symfony php bin/console doctrine:migrations:migrate`

Then if you have never used Symfony you must install the server with the following commands : `symfony server:ca:install`

Then you can run it : `symfony server:start`

to start the websocket use the command : `symfony php bin/console run:websocket-server`

If you want to put the site in production, you must modify the line `APP_ENV=dev` in `APP_ENV=prod`

## Features :

* Chat / Group chat
* User search
* User activity
* File sharing
* Image processing
* Live update

0 comments on commit d91ae58

Please sign in to comment.