-
Notifications
You must be signed in to change notification settings - Fork 4
Quick Start PHP
Yafra edited this page Sep 10, 2015
·
2 revisions
Make sure you have done the Quick Start First Time before continuing.
PHP example - A simple server to provide a RESTful API using Slim Framework with PDO/SQL.
docker pull yafraorg/docker-yafraphp
docker start yaframysql
docker run -d -p 8083:8083 --name yafraphp --link yaframysql:db yafraorg/docker-yafraphp
Now connect with your web browser to the docker IP: http://YOURIP/rest/index.php/persons
You can use docker stop and start to continue.
In order to contribute and build:
- Get the repository via git and contribute
- On commit/push it will run the build scripts on shippable
In order to install/deploy all projects:
- Quick Start to install servers on your local docker or in cloud (like Openshift)
- Use Clients like fat client, web browser or mobile app to access backends