README.md
June 26, 2018 ยท View on GitHub
About
This repo contains sandbox environment to help you quickly start up with swoole and Igni framework.
Application files are located in the src directory.
.env file contains information on what port and host your application should run.
src/Application.php contains bootstrap code required to run the application.
By default 8080 port is used and exposed to your host machine allowing you to easy preview your work,
simply just type http://localhost:8080 in your browser.
Happy coding!
Requirements
- Docker installed
- Docker Compose installed
Running
Starting application
docker-compose up -d
Restarting application
docker-compose restart
Killing application
docker-compose kill
Running tests
docker-compose run igni-php ./vendor/bin/phpunit
Troubleshooting
Check if port 8080 is open, if not change the port in .env file and docker-compose.yml.
Other problems? Rise an issue!