Forráskód Böngészése

Merge pull request #24 from viest/dev

Update README.md
王杰新 7 éve
szülő
commit
60d7cdeb7f
1 módosított fájl, 17 hozzáadás és 13 törlés
  1. 17 13
      README.md

+ 17 - 13
README.md

@@ -4,36 +4,40 @@
 
 #### 1、Install the dependencies
 
+##### Ubuntu
+
 ```bash
 sudo apt-get install -y zlib1g-dev
 
-git clone https://github.com/jmcnamara/libxlsxwriter.git
-
-cd libxlsxwriter
-
-make && sudo make install
+git clone https://github.com/jmcnamara/libxlsxwriter.git && cd libxlsxwriter && make && sudo make install
 ```
 
-#### 2、Get the source code via Git
+##### Mac
 
 ```bash
-git clone https://github.com/viest/php-excel-writer.git
-
-cd php-excel-writer
+brew install libxlsxwriter
+```
 
-phpize 
+#### 2、Get the source code via Git
 
-./configure
+##### Unix
 
+```bash
+git clone https://github.com/viest/php-ext-excel-export.git
+cd php-ext-excel-export
+phpize && ./configure
 make && make install
 ```
-
 add the `extension=excel_writer.so` to `php.ini` file.
 
+##### Windows
+
+>Please look forward to the next update.
+
 #### 3、Documents
 
 [Wiki](https://github.com/viest/php-excel-writer/wiki)
 
 #### License
 
-Apache License 2.0
+Apache License 2.0