Select the repository that contains your source code, and click Next.
Enter a name for your app, choose the region where you’d like your app to be hosted, and specify the branch or tag in your repository that contains your app’s source code. If you’d like to automatically re-deploy your app when pushing to this branch/tag, select Autodeploy code changes. Click Next.
App Platform will inspect the code and select an appropriate runtime environment (such as Node, Ruby, etc). If you need to override this, you can see if there is a better option in the drop-down labeled Type as well. If nothing suitable appears there, upload a Dockerfile to your branch and restart the app creation process.
If the use of environment variables is required, click Edit and supply them. Click the Encrypt checkbox to ensure a variable’s value is obscured in all build, deploy, and application logs.
If your app needs a database, you can add a dev database or an existing managed database from your DigitalOcean account. The connection details for your database will be accessible via environment variables so that they can be conveniently accessed in your code.