By default, Code Ocean runs headlessly, that is, without a pop-up display or user input during runtime. We also support what we are calling 'Cloud Workstations', where you can run code line-by-line, chunk-by-chunk, or via point-and-click interfaces.

On the top right-hand side of your capsule, you'll see a 'Launch Cloud Workstation' icon. Click this to launch one of four sessions:

Currently, workstations come in four varieties:

Click one of the above icons to start a workstation session. When you've done so, a new session will be automatically launched:

Which will then become whichever session you selected (in this example, a terminal):

When you click 'Shut Down Cloud Workstation,' you will see the following screen:

Click 'End Session' if you are ready to do so.

General notes:

  1. Leaving an interactive session running will continuously use quota; click 'end interactive session' to close the session.
  2. Every 30 minutes, your interactive session will ask you if you are still there. This is to prevent an idly open session from exhausting your quota. 
  3. Changes to files in the /code  and /data  folders in an interactive session will be synced back to your capsule. Any changes to /results  or the environment will not be. Please record changes you made to either, and re-implement them in a non-cloud-workstation session, if you wish to save them.
Did this answer your question?