소스 검색

Add instructions about Pico on README.

- add install and run instructions on README.
Diogo Oliveira de Melo 10 년 전
부모
커밋
547687fed3
1개의 변경된 파일21개의 추가작업 그리고 0개의 파일을 삭제
  1. 21 0
      README.md

+ 21 - 0
README.md

@@ -4,3 +4,24 @@ Pico
 Pico is a stupidly simple, blazing fast, flat file CMS. See http://picocms.org/ for more info.
 <!--flippa verify-->
 [![I Love Open Source](http://www.iloveopensource.io/images/logo-lightbg.png)](http://www.iloveopensource.io/projects/524c55dcca7964c617000756)
+
+Install
+-------
+
+Download composer and run it with install option.
+
+    ``` sh
+    $ curl -sS https://getcomposer.org/installer | php
+    $ php composer.phar install
+    ```
+
+Run
+---
+
+The easiest way to Pico is using [the built-in web server on PHP]{http://php.net/manual/en/features.commandline.webserver.php}.
+
+    ``` sh
+    php -S 0.0.0.0:8080 ./
+    ```
+
+Pico will be accessible from [http://localhost:8080].