Sachin Divakar Sachin Divakar - 4 months ago 22
Git Question

Backbone.js project configuration

Below was the instructions that I got at start of a course:

Setup

clone the Backbone project

run bower install

clone the backend server
launch the binary

point the --www flag to the root of the Backbone project

launch the project at http://localhost:8000

So I installed bower using

npm install -g bower
command
then I used
git clone url
to clone the above listed github project and server. I am not sure what to do with launch the binary and --www flag to the root of backbone project. What does it mean and how to do..?
In case of binary I traversed to binary folder of server an ran a file

So how to do the next part --www flag to the root of backbone project?

T J T J
Answer

If you read the instructions properly,

launch the binary
point the --www flag to the root of the Backbone project

is a single step. You need to launch the binary with a --www flag from terminal (Mac, Linux) or Command prompt in windows.

Let's say you cloned that frontend project to backbone-front folder, and the backend project to a sibling folder named backbone-back

In windows you should be able to execute ./server_darwin_amd64.exe --www ../../backbone-front from the backbone-back/binaries folder via Command prompt.

Comments