Skip to main content

Collaboration using activestate.yaml

The activestate.yaml is the config file for an ActiveState Project. It is similar to a package.json for JavaScript development, containing a link to project components and scripts which can automate project actions. The activestate.yaml file can be customized to meet the needs of your organization and shared across your teams to include proprietary code in your runtimes, add private scripts, and more.

Share an activestate.yaml file

If you wish to share an activestate.yaml file with your team, create a git repository and save your activestate.yaml to that repository. Share that git repository with your team through your regular channels.

warning

The ActiveState platform does not sync the contents of your activestate.yaml file. If you run the command state activate orgName/projectName, this will replace your activestate.yaml file with a boilerplate template.

To use the project associated with a given activestate.yaml file, simply open the correct directory and run state use <orgName>/<projectName> as you would normally after checking out a project from ActiveState.

Troubleshoot – Git Project Mismatch Warning

A "Git project mismatch" warning occurs when the project field in your activestate.yaml does not match the project you are activating. The most common cause of this warning is when activating a forked project where the original project has an associated git repository with an activestate.yaml in it.

After confirming that the project field matches, you may need to run activate your project again by running state activate <org/project>.