Wednesday, 15 March 2017

How to run Angular 2 App locally without node

So I went through this tutorial making a movie finder app using Angular 2, however we always had to run through 'npm start' in command line.

How do I make it possible for someone to view my project locally in their machine when they don't have Node.js installed?

My project is down below: https://github.com/Jerick821/moviefinder

I also made the following batch file below which I found online but it doesn't work :(

@echo off
cd moviefinder
npm install -g http-server
hs
start http://localhost:1234/

How do I make a batch file to run this app?



via Jerick

No comments:

Post a Comment