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

Commit d4cd816

Browse files
committed
updated readme #2
1 parent c1dac42 commit d4cd816

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

examples/ch07/README.txt

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
1-
To run the serverside php + mysql code in this chapter you need php5 and mysql support.
1+
To run the serverside php + mysql example code in this chapter you need php5 and mysql support.
22

33

4+
Installing the software
5+
-----------------------
6+
47
On ubuntu linux you can install the required files like this as root:
58

69
apt-get install php5-mysql php5-json
710

11+
On Mac osx you can use homebrew (further instructions at http://brew.sh )
12+
13+
On windows you can use the installers available from php.net and mysql.com
14+
815

9-
Database setup:
16+
Mysql database setup
17+
--------------------
1018

1119
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.
1220

13-
Tweaking the datastores to run locally:
21+
You can find further instructions on user account management in section 6.3 in the mysql manual (available here: http://dev.mysql.com/doc/refman/5.6/en/user-account-management.html )
22+
23+
24+
25+
Tweaking the datastores to run locally
26+
--------------------------------------
1427

1528
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.
29+
30+
31+

0 commit comments

Comments
 (0)