Environment Variables

Define Environment Variables

Let's create environment variables first in order to refer later on.

Open the terminal and type the commands below.

$ ROOTFOLDER=~/src
$ PROJECTNAME=project-one
$ FUNCTIONNAME=function-one
$ WORKSPACE=$ROOTFOLDER/$PROJECTNAME

Create Required Folders

Create all the folders required.

$ mkdir -p $WORKSPACE/$FUNCTIONNAME
$ mkdir $WORKSPACE/.vscode
$ mkdir $WORKSPACE/$FUNCTIONNAME/src

Last updated

Was this helpful?