README.md in focuslight-0.1.4 vs README.md in focuslight-0.2.0
- old
+ new
@@ -23,11 +23,11 @@
* OSX
* `brew install rrdtool`
## Installation
-Install focuslight with Ruby 2.0 or later.
+Install focuslight with Ruby 2.1 or later.
### Gem package
Five easy steps on installation with gem and SQLite.
@@ -83,10 +83,11 @@
# FRONT_PROXY
# ALLOW_FROM
# 1MIN_METRICS=n
FLOAT_SUPPORT=n # y
DBURL=sqlite://data/gforecast.db
+DBTIMEOUT=60000
# DBURL=mysql2://root:@localhost/focuslight
# RRDCACHED=n
# MOUNT=/
LOG_PATH=log/application.log
LOG_LEVEL=warn
@@ -94,9 +95,17 @@
## Switch from GrowthForecast
1. Copy GrowthForecast's `datadir` directory (and its contents) to `./data` (or where you specified)
1. Execute Focuslight
+
+## Example: Creating a New Graph
+
+Using curl:
+
+```
+$ curl -F number=10 http://localhost:5125/api/socialgame/member/register
+```
## TODO
* Merge GrowthForecast's commits after Jan 09, 2014
* api endpoint link label