README.md in focuslight-0.2.3 vs README.md in focuslight-0.2.4
- old
+ new
@@ -68,9 +68,24 @@
ON focuslight.* TO 'user'\@'localhost' IDENTIFIED BY password;
```
After that, follow the same procedure with the SQLite case.
+### Using Docker
+
+You can use Docker to build a focuslight development environment for MySQL.
+
+bash
+$ git clone https://github.com/focuslight/focuslight.git
+$ cd focuslight
+$ docker-compose build
+$ docker-compose up
+$ docker-compose exec app bash
+$ mysql -u root -proot -h db
+mysql> CREATE DATABASE focuslight;
+mysql> \q
+$ bundle exec focuslight init
+
## Configuration
To configure Focuslight, edit the `.env` file in the project root directory.
The default configuration is as follows: