In order to work with your language runtime, you need to sign in to your ActiveState Platform account and activate your project.
To sign in and activate your project:
Open your command prompt.
You will be prompted to enter your username and password. If your sign in is successfull a “You have authenticated” message is displayed.
Activate your project using the activate command:
state activate <owner>/<projectName>
<owner> arguement is your username or your oranization name if you created your project in an organization.
<projectName> is the exact name of the project to activate.
Running the activate command will create a new project folder under the current working directory containing an
activestate.yaml file with the essential configuration for your project. The State Tool will “activate” under this new project directory. This means that you have access to a completely isolated development environment with the languge and packages you have selected in your project.
When you are finished working with your project, you can deactivate the runtime environment for your project by entering
exit or pressing
Ctrl+D to return to your regular shell environment.
When you want to work on your project again you can run the same
state activate owner/projectName command from any directory and you’ll be switched into an activated state under your project directory. Alternatively you can manually move to the root of your project directory and run
state activate without any other arguments.