Once you have created a service instance, you need to bind it to your application. To do that, follow these steps:
- Create the ui folder:
mkdir ui
- Create the index.html file. It should be empty.
- Create manifest.yml and paste the following code into it:
---applications:- name: ui memory: 64M buildpack: staticfile_buildpack random-route: true
- Deploy the application base to the cloud, using the following command:
cf push
- Run this command from the console:
cf bind-service ui asset-service-instance
After running the command, you will get the console output shown in the following screenshot:
- Run this command ...