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.
- Leaving an interactive session running will continuously use quota; click 'end interactive session' to close the session.
- 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.
- Changes to files in the
/datafolders in an interactive session will be synced back to your capsule. Any changes to
/resultsor 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.