-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README capi locally instructions (#3793)
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,19 +110,19 @@ cf login -u ccadmin -p secret | |
|
||
When the Docker containers have been set up as described above, you can start the cloud controller locally. Start the main process with: | ||
``` | ||
./bin/cloud_controller -c ./tmp/cloud_controller.yml | ||
DB_CONNECTION_STRING=mysql2://root:[email protected]:3306/ccdb ./bin/cloud_controller -c ./tmp/cloud_controller.yml | ||
``` | ||
Then start a local worker: | ||
``` | ||
CLOUD_CONTROLLER_NG_CONFIG=./tmp/cloud_controller.yml bundle exec rake jobs:local | ||
DB_CONNECTION_STRING=mysql2://root:[email protected]:3306/ccdb CLOUD_CONTROLLER_NG_CONFIG=./tmp/cloud_controller.yml bundle exec rake jobs:local | ||
``` | ||
Start a delayed_job worker: | ||
``` | ||
CLOUD_CONTROLLER_NG_CONFIG=./tmp/cloud_controller.yml bundle exec rake jobs:generic | ||
DB_CONNECTION_STRING=mysql2://root:[email protected]:3306/ccdb CLOUD_CONTROLLER_NG_CONFIG=./tmp/cloud_controller.yml bundle exec rake jobs:generic | ||
``` | ||
And finally start the scheduler: | ||
``` | ||
CLOUD_CONTROLLER_NG_CONFIG=./tmp/cloud_controller.yml bundle exec rake clock:start | ||
DB_CONNECTION_STRING=mysql2://root:[email protected]:3306/ccdb CLOUD_CONTROLLER_NG_CONFIG=./tmp/cloud_controller.yml bundle exec rake clock:start | ||
``` | ||
|
||
Known limitations: | ||
|