Connect the app to your Sample Project so you can freely make changes.
In Kontent.ai > Environment settings > General > Environment ID, copy the Environment ID for Production.
In the sample app folder, open the /app/controllers/application_controller.rb file in your code editor.
On line 3, replace <your-project-id> with your production environment ID.
Save the file.
Run the app
In your command line, open the cloned repository.
Run bundle install to install the necessary gem packages.
Run the rails server to start the app.
Open localhost:3000 in your browser to see the running sample app.Now, let’s explore the Sample Project and update its content so that you can see the changes reflected in your locally running application.
Explore your sample project
Let's explore your Kontent.ai sample project and update its content so that you can see the changes reflected in your locally running sample app.