Environment Variables Environment variables store configuration values that you'd rather not store in your codebase. Codesphere allows setting Env vars from the UI. December 14, 2023 1 Min Read Codesphere From everyone in the Codesphere Team:) Table of Contents Get started with Environment Variables Working with Environment Variables Codesphere makes working with Environment Variables super easy. You can add, edit and manage your Environment Variables from the interface.Get started with Environment VariablesEnvironment Variables are connected to a specific workspace. That allows you to set different Variables for example in staging and production environments. Navigate to the workspace you want to add or modify Environment Variables and click on Setup. There you will find the Environment Variables tab.Working with Environment VariablesIn this window you can set, view and edit all your environment variables. Because Environment Variables often contain secret keys, by default the values are concealed by stars, you can reveal the value via the eye icon.And youโre done - itโs that simple. The Environment Variables you set here will be available from the terminal and can be fetched from scripts (i.e. os.environ.get in Python) from now on.Remember that they are specific to the workspace they are created in, so when you manually create a replica, you will need to copy these variables over as well.
2/12/2024 Getting Started Monitoring & Alerting Learn how to access Codesphere's built in resource monitoring and check the uptime of your applications.
1/31/2024 Getting Started Path based routing Learn how to connect multiple independent applications to a single domain by associating different paths with distinct workspaces
12/14/2023 Tutorial A/B Testing using PostHog Learn how to set up advanced a/b testing with Posthog in Codesphere in minutes.
12/14/2023 Getting Started Staging Environments Learn how to use Codesphere's Domains to improve your release process.