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 a Cloud Workstation running will continuously use quota; click 'Shut Down Cloud Workstation' to close the session.
- Changes to files in the /code and /data folders in a Cloud Workstation 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.