Skip to content

okteto/chat

Repository files navigation

Rails on Okteto Demo

Develop

Once your app is Running, execute the following command to activate your development container:

$ okteto up
 ✓  Development container activated
 ✓  Files synchronized
    Namespace: pablo
    Name:      web
    Forward:   1234 -> 1234
               5234 -> db:5234

Welcome to your development container. Happy coding!
pablo:web app>

From the development container shell, install the gem files and yarn dependencies by executing the following command:

pablo:web app> make install

You only need to run make install the first time you activate your development container. Any time in the future you activate your development container again, all your dependencies are persisted in the okteto persistent volume.

Run the app by executing the following command:

pablo:web app> make start

Start the app in debug mode by executing the following command:

pablo:web app> make debug