Clean Development Environment (Web Dev)

How do we have a completely clean DEV environment to write an application in Node / Angular / Bootstrap / ...? I am having trouble with CLI's and updates each time. Does anyone have a real Best Practice? I would like to take an environment that I have been hacking around in and clean it up, ready for a new project easily.  Ideally, I would love to see a script to run that will clean it all up in one shot.
LVL 3
Christopher GoreEnterprise Solutions ArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chinmay PatelChief Technical NinjaCommented:
How about using VMs? I create / update my VMs with latest updates/IDE patches and then use copies(I do not use differencing disks).
0
Christopher GoreEnterprise Solutions ArchitectAuthor Commented:
That is what I do now.  That works flawlessly of course but it would be nice to have a script. Maybe that is a good project for me to share with the world.
0
Chinmay PatelChief Technical NinjaCommented:
I prefer VMs 'cause I can guarantee that nothing has *polluted* my environment. In my day to day activities, I install and configure anywhere between 10 to 50 tools/softwares/code etc. I can't always be sure if something has messed up a registry entry or a system config file somewhere. I understand the process is painful and scripts might be helpful if you are not experimenting on lot of external tools.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Christopher GoreEnterprise Solutions ArchitectAuthor Commented:
I'll take that answer for now Chinmay.  I do about the same on testing things.  VM's are the way to go for knowing absolutely.  I guess it is what it is.
0
Julian HansenCommented:
What is your issue with CLI's

Angular
1. ng new mynewproject
2. cd mynewproject
3. code .
4. ng serve
5. Browse to http://localhost:4200
6. ng g component mynewcomponent
7. Component automatically added to project and Visual Code updated to show component. Configure and ...
8. View in browser
Add Bootstrap
1. npm install ngx-bootstrap --save
2. Add following to index.html
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

Open in new window

OR if using BS4
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">

Open in new window

1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Christopher GoreEnterprise Solutions ArchitectAuthor Commented:
This works perfectly. It builds without issue.  I would add the following step.  
Step 1: npm install -g @angular/cli
Also, on Serve step:  ng serve --open
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Node.js

From novice to tech pro — start learning today.