Skip to content
This repository was archived by the owner on Jun 13, 2019. It is now read-only.

Commit c1dac42

Browse files
committed
Create README.txt
1 parent 4ace22b commit c1dac42

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

examples/ch07/README.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
To run the serverside php + mysql code in this chapter you need php5 and mysql support.
2+
3+
4+
On ubuntu linux you can install the required files like this as root:
5+
6+
apt-get install php5-mysql php5-json
7+
8+
9+
Database setup:
10+
11+
The example file crud.php assumes that you have a database called "extjsinaction" accessible as user root with no pasword. Feel free to change this to your liking.
12+
13+
Tweaking the datastores to run locally:
14+
15+
In 7.5_The_Employee_Store.html you can tweak urlRoot to match your local crud.php installation. Just remove "http://extjsinaction.com/" from urlRoot and you should pickup you local file. Remember to alter the proxy type from "jsonp" to "ajax" now that you are running locally. Now you should be able to experiment with datastores from your console in your browser.

0 commit comments

Comments
 (0)