Create a compute capsule to contain your code before uploading it.
Log in and navigate to https://codeocean.com/dashboard.
Click New Compute Capsule, which takes you to a new private workspace where you can configure your computational environment.
Upload and run your code.
Click Publish to publish your capsule.