Chat-O-Mat
An Open-Source Slack / HipChat alternative. Currently still in development.
- PHP > 5.3.9
- Composer
- Bower
- PHP Coding Standards Fixer (optional)
- With your console navigate to your project directory. For example:
cd /var/www/chat-o-mat(create it before, if it doesn't exist yet -mkdir /var/www/chat-o-mat) - Clone this repo:
git clone git@github.com:bobalazek/chat-o-mat.git .(the dot at the end means, that it should clone into the current directory, and not wrap it with, in this case a 'myapp/' folder) - Configure database (and maybe other stuff if you want):
app/configs/global-local.php(just rename the global-local.php.dist and set your own configuration) - Run the following commands:
curl -sS https://getcomposer.org/installer | php -- --install-dir=bin(skip this step, if you already have composer installed - globally)bin/composer.phar installbin/console orm:schema-tool:update --force --dump-sql(to install the database schema)bower update(to install the frontend dependencies - you need to install Bower first - if you haven't already)
- You are done! Start chatting / developing!
- We use the Doctrine database
- Navigate to your project directory:
cd /var/www/chat-o-mat - Check the entities:
bin/console orm:info(optional) - Update the schema:
bin/console orm:schema-tool:update --force --dump-sql - Database updated!
bin/console application:environment:prepare- Will create the global-local.php and development-local.php files (if not existent)bin/console application:database:hydrate-data --remove-existing-data- Will hydrate the tables with some basic data, like: 4 chat channels, 2 users and 50 emojis (the--remove-existing-dataflag will truncate all tables before re-hydrating them)bin/console application:storage:prepare- Will prepare all the storage (var/) folders, like: cache, logs, sessions, etc.bin/console application:storage:prepare-shared-folders- Will prepare shared folders for your server / deployment (you can set the shared folders inside the app/configs/global.php file)
sudo php-cs-fixer fix .- if you want your code fixed before each commit. You will need to install PHP Coding Standards Fixer
Icons - Hawcons Emoji
Chat-O-Mat is licensed under the MIT license.




