https://github.com/igniphp/framework-quick-start
Sandbox environment for running igni php framework.
https://github.com/igniphp/framework-quick-start
Last synced: 11 months ago
JSON representation
Sandbox environment for running igni php framework.
- Host: GitHub
- URL: https://github.com/igniphp/framework-quick-start
- Owner: igniphp
- Created: 2018-06-26T13:27:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T14:35:12.000Z (about 8 years ago)
- Last Synced: 2025-06-04T22:43:52.995Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 
## 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](https://docs.docker.com/engine/installation/) installed
- [Docker Compose](https://docs.docker.com/compose/install/) installed
### Running
#### Starting application
```bash
docker-compose up -d
```
#### Restarting application
```bash
docker-compose restart
```
#### Killing application
```bash
docker-compose kill
```
#### Running tests
```bash
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!