Commit 4eadfee2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

no need to invoke buildout twice.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41277 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5f9854c6
...@@ -117,6 +117,7 @@ parts = ...@@ -117,6 +117,7 @@ parts =
mysql-instance mysql-instance
oood-instance oood-instance
supervisor-instance supervisor-instance
runUnitTest
^D ^D
$ ~/erp5.buildout/bin/bootstrap2.6 # 4 $ ~/erp5.buildout/bin/bootstrap2.6 # 4
...@@ -149,22 +150,12 @@ mysql> grant all privileges on test212.* to 'test'@'localhost'; ...@@ -149,22 +150,12 @@ mysql> grant all privileges on test212.* to 'test'@'localhost';
mysql> grant all privileges on test212.* to 'test'@'127.0.0.1'; mysql> grant all privileges on test212.* to 'test'@'127.0.0.1';
mysql> exit mysql> exit
Now edit buildout.cfg and add "runUnitTest" (w/o quotes) to 'buildout:parts'. Also a fully configured development instance will be available in the directory
The "development-instance" part will be pulled in automatically as a
dependency:
$ $EDITOR buildout.cfg # 7
Then run buildout again to finish the configuration
$ bin/buildout -ov # 8
Now a fully configured development instance will be available in the directory
"parts/development-site", so you can do: "parts/development-site", so you can do:
$ bin/development-site fg $ bin/development-site fg
And see an ERP5 instance running on "http://localhost:18080/". The port '18080' And see a Zope instance running on "http://localhost:18080/". The port '18080'
refers to the 'development-instance:http-address' setting in refers to the 'development-instance:http-address' setting in
'profiles/development-2.12.cfg'. The file 'instance-profiles/zope-2.12.cfg' 'profiles/development-2.12.cfg'. The file 'instance-profiles/zope-2.12.cfg'
provides the "Manager" credentials you should use (usually zope:zope), in provides the "Manager" credentials you should use (usually zope:zope), in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment