https://github.com/mablae/emotico
https://github.com/mablae/emotico
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mablae/emotico
- Owner: mablae
- Created: 2016-10-30T19:37:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-30T19:38:06.000Z (over 9 years ago)
- Last Synced: 2025-02-10T14:08:48.478Z (over 1 year ago)
- Language: PHP
- Size: 8.22 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Emotico - A SMS / MMS / Whatsapp Messanger Project
## What is this ?
This is a development or(/and) production environment for PHP built in seperate docker containers, managed with docker-compose. The basic setup contains a LEMP stack (Linux, Nginx, MySQL, RabbitMQ and PHP)
On this LAMP Stack a Symfony 3 App is living
## Containing:
* Nginx
* PHP 5.6 and PHP 7.0, both contain:
* APCu (optional)
* XDebug (optional)
* Production/development config (optional)
* Composer
* PHPUnit
* Phing/Ant
* ...
* MariaDB
* Automated backups
* Redis
* RabbitMQ
## Documentation
### Requirements
Docker: https://docs.docker.com/engine/installation/
Docker compose: https://docs.docker.com/compose/install/
### Starting dev env
docker-compose -f compose-up-development.yml up
OR
docker-compose -f compose-up-production.yml up
### Add a vhost
To install database dependencies composer hast to know how to resolve the mariadb host. You have to create a /etc/hosts entry
* -ip of maria db- mariadb
* run composer install
###Prepare database
```php app/console doctrine:database:create```
```php app/console doctrine:schema:create```
###Set accessrights
```rm -rf var```
```chmod -R 777 *```
### Usage
* for dev http://localhost:8089
### API Doc
* surf http://localhost:8089/api/doc