Skip to content

Commit

Permalink
Update README capi locally instructions (#3793)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samze authored Jul 11, 2024
1 parent 656dc81 commit d5381ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d5381ad

Please sign in to comment.