Creating a work environment

It’s time to prepare environment work. First, I formed a virtual environment to separate all the packages from other projects, so:

mkvirtualenv worthit

Earlier, of course, I had to install virtualenv.

After this command, I’m  immediately in our virtual environment

If I want to deactivate virtualenv I must just use ‘deactivate’ .

If I want to start again our virtual machine I must use ‘workon worthit’

Now, I install angular 2 with one command:

npm install -g angular-cli

then, I create folder for my projects and inside this folder I use

ng new worthit-project

inside folder

ng serve

and now I’m ready for work

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s