[Groonga-commit] ranguba/epub-searcher at a19b309 [master] Make command-line option of background processes configurable

Back to archive index

KITAITI Makoto null+****@clear*****
Mon Dec 22 05:54:48 JST 2014


KITAITI Makoto	2014-12-22 05:54:48 +0900 (Mon, 22 Dec 2014)

  New Revision: a19b3095d376344529a8c217d5a73d71d2b3e96b
  https://github.com/ranguba/epub-searcher/commit/a19b3095d376344529a8c217d5a73d71d2b3e96b

  Message:
    Make command-line option of background processes configurable

  Added files:
    .env.development
  Modified files:
    Procfile
    README.md

  Added: .env.development (+3 -0) 100644
===================================================================
--- /dev/null
+++ .env.development    2014-12-22 05:54:48 +0900 (be13d41)
@@ -0,0 +1,3 @@
+host=127.0.0.1
+engine_port=10031
+http_server_port=10041

  Modified: Procfile (+2 -2)
===================================================================
--- Procfile    2014-10-17 02:05:04 +0900 (9cc61de)
+++ Procfile    2014-12-22 05:54:48 +0900 (fbc6875)
@@ -1,2 +1,2 @@
-engine: cd db && bundle exec droonga-engine --host=127.0.0.1 --log-file=droonga-engine.log --pid-file=droonga-engine.pid
-http-server: export PATH=$PWD/node_modules/.bin:$PATH && cd db && droonga-http-server --receive-host-name=127.0.0.1 --droonga-engine-host-name=localhost --environment=development --cache-size=-1 --pid-file=droonga-http-server.pid
+engine: cd db && bundle exec droonga-engine --host=$host --port=$engine_port --log-file=droonga-engine.log --pid-file=droonga-engine.pid
+http-server: export PATH=$PWD/node_modules/.bin:$PATH && cd db && droonga-http-server --receive-host-name=$host --port=$http_server_port --droonga-engine-host-name=localhost --environment=development --cache-size=-1 --pid-file=droonga-http-server.pid

  Modified: README.md (+1 -1)
===================================================================
--- README.md    2014-10-17 02:05:04 +0900 (044e326)
+++ README.md    2014-12-22 05:54:48 +0900 (3e8cee8)
@@ -14,7 +14,7 @@ Setting development environment up
 Running droonga components for development
 ------------------------------------------
 
-    $ bundle exec foreman start
+    $ bundle exec foreman start --env=.env.development
 
 Running web app server
 ----------------------
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index