How to run a Backbone js app?

Asked By: Anonymous

I am very new to Backbone and MVC frameworks.I am learning backbone.js .
I have followed the tutorial http://code.tutsplus.com/tutorials/build-a-contacts-manager-using-backbonejs-part-1–net-24277

But i have no idea how to run it.I have really looked into many tutorials but i really couldn’t find how to run this app!

This might be a very silly question and the solution might be very trivial to some of you,But i have no idea to how to run it!

I have downloaded the attachment http://cdn.tutsplus.com/net/uploads/legacy/1142_bb1/demo.zip
(from the same tutorial)
Now how do i host it on the server?


Solution

Answered By: Anonymous

In case if someone is also facing the same issue :

Look at this question.

It tells how to serve a page on mac

In case the link is broken,here is the easiest solution from those answers

As of PHP 5.4.0, the CLI SAPI provides a built-in web server. More details >in the official PHP documentation:

1.Open terminal.

2.Navigate to the folder (directory) containing the file you want to serve.

3.php -S localhost:8080

4.Go to http://localhost:8080 in the browser.

techinplanet staff

techinplanet staff


Windows 10 Kaufen Windows 10 Pro Office 2019 Kaufen Office 365 Lizenz Windows 10 Home Lizenz Office 2019 Home Business Kaufen windows office 365 satın al follower kaufen instagram follower kaufen porno