Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akrabat/slim3-profile-test
Simple Slim 3 Hello World with a vagrant VM that has a profiler in it
https://github.com/akrabat/slim3-profile-test
Last synced: 3 months ago
JSON representation
Simple Slim 3 Hello World with a vagrant VM that has a profiler in it
- Host: GitHub
- URL: https://github.com/akrabat/slim3-profile-test
- Owner: akrabat
- License: mit
- Created: 2015-04-15T19:50:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-16T15:07:05.000Z (almost 10 years ago)
- Last Synced: 2024-10-04T11:30:51.771Z (4 months ago)
- Language: PHP
- Size: 191 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Slim Framework 3 Hello World
Simple app for profile testing. Has a Vagrant VM to make life easier.
It is a slightly tweaked version of what you get when you run:
composer create-project -s dev slim/slim mytestapp dev-develop
## composer install
Note that you have to run `composer install` yourself - the vagrant provisioning doesn't do it for you.
## Hosts for vagrant VM:
`/etc/hosts` should have:
192.168.99.16 profile-test.dev
192.168.99.16 phpmyadmin.profile-test.dev
192.168.99.16 mailcatcher.profile-test.dev
192.168.99.16 profiler.profile-test.devif you don't have the vagrant-hostsupdater plugin installed.
## URLs:
* `http://profile-test.dev` to view the hellow world page
* `http://profiler.profile-test.dev` to view the XHGUI profiles## Ngrok
To expose the profiler information to the Internet via ngrok:
ngrok -subdomain profiler-profile-test profile-test.dev:80
Obviously if that subdomain is in use, then you'll need to create a different one and edit the `server_ngrok_alias` setting in `vm-provisioning/variables.yml` and then `vagrant provision`.