From 572996e174ec2f9dfd93fd759d29e1f325c6958e Mon Sep 17 00:00:00 2001 From: Denison Martins Date: Tue, 6 Sep 2016 13:27:54 -0300 Subject: [PATCH 1/2] Added a Getting Started section on README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9e348ca..479ab1e 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,13 @@ And yes, it differs a little bit from the proposed solution, but I think ilustra - `PHP`: `^5.6` - `MySQL`: `^5.4` +## Getting started +- Download/clone the latest version of the project from `master` branch; +- Let's call `$projectPath` the place where you gonna run the project; +- Create a database (using UTF-8 encoding) and import the file `$projectPath/misc/dump.sql` into it; +- Edit `$projectPath/constants.php` to match your local environment settings; +- That sould be it. + ## Contributing Feel free to contribute in any way by [creating an issue](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example/issues/new), cloning the project, creating your own branches and sending pull requests or even [saying hello](https://github.com/deenison). From 09403999d399d98bacdc5754333f32820d319757 Mon Sep 17 00:00:00 2001 From: Denison Martins Date: Tue, 6 Sep 2016 13:28:31 -0300 Subject: [PATCH 2/2] Added a Summary on README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 479ab1e..bfb98a8 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,15 @@ I found this one to be simple enough to explain very basically via example a cou Happy coding :) +## Summary +- [Le problematic](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#le-problematic) +- [Proposed solution](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#proposed-solution) +- [What this example do](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#proposed-solution) +- [Requirements](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#proposed-solution) +- [Getting started](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#getting-started) +- [Contributing](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#contributing) +- [License](https://github.com/deenison/Basic-MySQL-PHP-AJAX-Example#license) + ## Le problematic There's a simple form with a couple of nested ``-children should be dinamically created based on a specific DB (in MySQL) query using as one of the query arguments the parent-selected value.