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?
git backbone.js github
add a comment |
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?
git backbone.js github
add a comment |
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?
git backbone.js github
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?
git backbone.js github
git backbone.js github
edited May 6 '16 at 5:34


T J
32.8k957112
32.8k957112
asked May 4 '16 at 19:27
codefreaKcodefreaK
2,55931945
2,55931945
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
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_windows_amd64.exe --www ../../backbone-front
from the backbone-back/binaries
folder via Command prompt.
so is there a an exe there so it gives me an error that it the file is not recoginized as internal or external command or batch file that error.this is what confusing me
– codefreaK
May 6 '16 at 9:51
@SachinDivakar you might be trying to execute it from the wrong directory. See superuser.com/questions/876933/running-exe-in-command-prompt. You need to provide your folder structures, a screenshot of error etc to give you additional info.
– T J
May 6 '16 at 10:17
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_windows_amd64.exe --www =D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries> D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_darw in_amd64.exe --www=D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone 'server_darwin_amd64.exe' is not recognized as an internal or external command, operable program or batch file.
– codefreaK
May 6 '16 at 10:37
1
@SachinDivakar You can just drag and drop the exe into command prompt and press enter, it'll execute it. This one seems to try to create some backing directory so you need to open command prompt as administrator. All that said, you don't really need a server and stuff to learn backbone. You can just use.json
files as data source for a start. Try following addyosmani.com/backbone-fundamentals. If you need to serve your app from a static http server, use abode brackets ide, it's free and it has a live preview option where you can serve.html
file via node server
– T J
May 7 '16 at 7:31
|
show 4 more comments
to any one starting out to code just now seeking help like me, in the binary files there are 3 files, each file is for a different oparting system (the .exe is for windows), if you cloned the project the windows version seems to be 0kb, you will need to go and re downaload it directly from the repository, then run the command with an .exe in the file name, good luck! ^^
server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
using the cmd from the binary location
also make sure you not only installed bower on the computor but went into the backbone folder and excuted bower install to install the bower.json files
add a comment |
I will take you through the entirety of installing the app on Windows. I just did it, and these instructions work.
If you don't already have node or bower installed, Google "bower install on windows". The first page has the correct instructions. For clarification, the page's title is "How to install NodeJS, Bower, and Grunt..."
After that, you'll want to clone both the front end and the back end of the project.
For the front end, follow these instructions here:
https://github.com/udacity/FEF-UdaciMeals-Backbone
For the back end, follow these instructions:
https://github.com/udacity/FEF-UdaciMeals-Backbone-Server
@T J is correct. You'll want to be in ../../FEF-UdaciMeals-Backbone-Server/binaries when you run ./server_windows.amd64.exe
If you followed the above instructions correctly, then you should be able to launch the application at localhost:8000, which will give you a 404 page not found error. This is normal, because you haven't done anything yet.
add a comment |
This is the correct line to run from the binaries folder:
server_windows_amd64.exe --www ../../FEF-UdaciMeals-Backbone
Then navigate to localhost:8000 and you will see the app.
add a comment |
To --www
flag to the root of your project you need to first determine what OS you are running on - you will need to determine which binary file to run from the binary folder. If you're on Mac OS maybe you would start your code with server_darwin_amd64
. I am running on a Windows OS, so I would use server_windows_amd64.exe
.
Next, correctly writing the whereabouts (directory) of your front-folder, where all the html, css and js are. i.e. FEF-UdaciMeals-Backbone
. I would imperatively use the equal sign here =
. Here is where I would write: --www=../../FEF-UdaciMeals-Backbone
to open to the frontend folder.
In my bash terminal, when I cd
into FEF-UdaciMeals-Backbone-Server/binaries
, I may run the program with the following code: ./server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
.
Lastly, you may find your site via http://localhost:8000
NB: My frontend and backend folder are separated.
Hopefully that helps, or gives you an idea on how to open up your program. :D
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37036378%2fbackbone-js-project-configuration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
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_windows_amd64.exe --www ../../backbone-front
from the backbone-back/binaries
folder via Command prompt.
so is there a an exe there so it gives me an error that it the file is not recoginized as internal or external command or batch file that error.this is what confusing me
– codefreaK
May 6 '16 at 9:51
@SachinDivakar you might be trying to execute it from the wrong directory. See superuser.com/questions/876933/running-exe-in-command-prompt. You need to provide your folder structures, a screenshot of error etc to give you additional info.
– T J
May 6 '16 at 10:17
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_windows_amd64.exe --www =D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries> D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_darw in_amd64.exe --www=D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone 'server_darwin_amd64.exe' is not recognized as an internal or external command, operable program or batch file.
– codefreaK
May 6 '16 at 10:37
1
@SachinDivakar You can just drag and drop the exe into command prompt and press enter, it'll execute it. This one seems to try to create some backing directory so you need to open command prompt as administrator. All that said, you don't really need a server and stuff to learn backbone. You can just use.json
files as data source for a start. Try following addyosmani.com/backbone-fundamentals. If you need to serve your app from a static http server, use abode brackets ide, it's free and it has a live preview option where you can serve.html
file via node server
– T J
May 7 '16 at 7:31
|
show 4 more comments
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_windows_amd64.exe --www ../../backbone-front
from the backbone-back/binaries
folder via Command prompt.
so is there a an exe there so it gives me an error that it the file is not recoginized as internal or external command or batch file that error.this is what confusing me
– codefreaK
May 6 '16 at 9:51
@SachinDivakar you might be trying to execute it from the wrong directory. See superuser.com/questions/876933/running-exe-in-command-prompt. You need to provide your folder structures, a screenshot of error etc to give you additional info.
– T J
May 6 '16 at 10:17
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_windows_amd64.exe --www =D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries> D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_darw in_amd64.exe --www=D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone 'server_darwin_amd64.exe' is not recognized as an internal or external command, operable program or batch file.
– codefreaK
May 6 '16 at 10:37
1
@SachinDivakar You can just drag and drop the exe into command prompt and press enter, it'll execute it. This one seems to try to create some backing directory so you need to open command prompt as administrator. All that said, you don't really need a server and stuff to learn backbone. You can just use.json
files as data source for a start. Try following addyosmani.com/backbone-fundamentals. If you need to serve your app from a static http server, use abode brackets ide, it's free and it has a live preview option where you can serve.html
file via node server
– T J
May 7 '16 at 7:31
|
show 4 more comments
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_windows_amd64.exe --www ../../backbone-front
from the backbone-back/binaries
folder via Command prompt.
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_windows_amd64.exe --www ../../backbone-front
from the backbone-back/binaries
folder via Command prompt.
edited Mar 23 '17 at 13:02


Kannan
3781318
3781318
answered May 6 '16 at 5:43


T JT J
32.8k957112
32.8k957112
so is there a an exe there so it gives me an error that it the file is not recoginized as internal or external command or batch file that error.this is what confusing me
– codefreaK
May 6 '16 at 9:51
@SachinDivakar you might be trying to execute it from the wrong directory. See superuser.com/questions/876933/running-exe-in-command-prompt. You need to provide your folder structures, a screenshot of error etc to give you additional info.
– T J
May 6 '16 at 10:17
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_windows_amd64.exe --www =D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries> D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_darw in_amd64.exe --www=D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone 'server_darwin_amd64.exe' is not recognized as an internal or external command, operable program or batch file.
– codefreaK
May 6 '16 at 10:37
1
@SachinDivakar You can just drag and drop the exe into command prompt and press enter, it'll execute it. This one seems to try to create some backing directory so you need to open command prompt as administrator. All that said, you don't really need a server and stuff to learn backbone. You can just use.json
files as data source for a start. Try following addyosmani.com/backbone-fundamentals. If you need to serve your app from a static http server, use abode brackets ide, it's free and it has a live preview option where you can serve.html
file via node server
– T J
May 7 '16 at 7:31
|
show 4 more comments
so is there a an exe there so it gives me an error that it the file is not recoginized as internal or external command or batch file that error.this is what confusing me
– codefreaK
May 6 '16 at 9:51
@SachinDivakar you might be trying to execute it from the wrong directory. See superuser.com/questions/876933/running-exe-in-command-prompt. You need to provide your folder structures, a screenshot of error etc to give you additional info.
– T J
May 6 '16 at 10:17
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_windows_amd64.exe --www =D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries> D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_darw in_amd64.exe --www=D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone 'server_darwin_amd64.exe' is not recognized as an internal or external command, operable program or batch file.
– codefreaK
May 6 '16 at 10:37
1
@SachinDivakar You can just drag and drop the exe into command prompt and press enter, it'll execute it. This one seems to try to create some backing directory so you need to open command prompt as administrator. All that said, you don't really need a server and stuff to learn backbone. You can just use.json
files as data source for a start. Try following addyosmani.com/backbone-fundamentals. If you need to serve your app from a static http server, use abode brackets ide, it's free and it has a live preview option where you can serve.html
file via node server
– T J
May 7 '16 at 7:31
so is there a an exe there so it gives me an error that it the file is not recoginized as internal or external command or batch file that error.this is what confusing me
– codefreaK
May 6 '16 at 9:51
so is there a an exe there so it gives me an error that it the file is not recoginized as internal or external command or batch file that error.this is what confusing me
– codefreaK
May 6 '16 at 9:51
@SachinDivakar you might be trying to execute it from the wrong directory. See superuser.com/questions/876933/running-exe-in-command-prompt. You need to provide your folder structures, a screenshot of error etc to give you additional info.
– T J
May 6 '16 at 10:17
@SachinDivakar you might be trying to execute it from the wrong directory. See superuser.com/questions/876933/running-exe-in-command-prompt. You need to provide your folder structures, a screenshot of error etc to give you additional info.
– T J
May 6 '16 at 10:17
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_windows_amd64.exe --www =D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_windows_amd64.exe --www =D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries> D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_darw in_amd64.exe --www=D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone 'server_darwin_amd64.exe' is not recognized as an internal or external command, operable program or batch file.
– codefreaK
May 6 '16 at 10:37
D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries> D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone-Serverbinaries>server_darw in_amd64.exe --www=D:UdacityFrontEndFrameworkFEF-UdaciMeals-Backbone 'server_darwin_amd64.exe' is not recognized as an internal or external command, operable program or batch file.
– codefreaK
May 6 '16 at 10:37
1
1
@SachinDivakar You can just drag and drop the exe into command prompt and press enter, it'll execute it. This one seems to try to create some backing directory so you need to open command prompt as administrator. All that said, you don't really need a server and stuff to learn backbone. You can just use
.json
files as data source for a start. Try following addyosmani.com/backbone-fundamentals. If you need to serve your app from a static http server, use abode brackets ide, it's free and it has a live preview option where you can serve .html
file via node server– T J
May 7 '16 at 7:31
@SachinDivakar You can just drag and drop the exe into command prompt and press enter, it'll execute it. This one seems to try to create some backing directory so you need to open command prompt as administrator. All that said, you don't really need a server and stuff to learn backbone. You can just use
.json
files as data source for a start. Try following addyosmani.com/backbone-fundamentals. If you need to serve your app from a static http server, use abode brackets ide, it's free and it has a live preview option where you can serve .html
file via node server– T J
May 7 '16 at 7:31
|
show 4 more comments
to any one starting out to code just now seeking help like me, in the binary files there are 3 files, each file is for a different oparting system (the .exe is for windows), if you cloned the project the windows version seems to be 0kb, you will need to go and re downaload it directly from the repository, then run the command with an .exe in the file name, good luck! ^^
server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
using the cmd from the binary location
also make sure you not only installed bower on the computor but went into the backbone folder and excuted bower install to install the bower.json files
add a comment |
to any one starting out to code just now seeking help like me, in the binary files there are 3 files, each file is for a different oparting system (the .exe is for windows), if you cloned the project the windows version seems to be 0kb, you will need to go and re downaload it directly from the repository, then run the command with an .exe in the file name, good luck! ^^
server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
using the cmd from the binary location
also make sure you not only installed bower on the computor but went into the backbone folder and excuted bower install to install the bower.json files
add a comment |
to any one starting out to code just now seeking help like me, in the binary files there are 3 files, each file is for a different oparting system (the .exe is for windows), if you cloned the project the windows version seems to be 0kb, you will need to go and re downaload it directly from the repository, then run the command with an .exe in the file name, good luck! ^^
server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
using the cmd from the binary location
also make sure you not only installed bower on the computor but went into the backbone folder and excuted bower install to install the bower.json files
to any one starting out to code just now seeking help like me, in the binary files there are 3 files, each file is for a different oparting system (the .exe is for windows), if you cloned the project the windows version seems to be 0kb, you will need to go and re downaload it directly from the repository, then run the command with an .exe in the file name, good luck! ^^
server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
using the cmd from the binary location
also make sure you not only installed bower on the computor but went into the backbone folder and excuted bower install to install the bower.json files
edited Jul 25 '18 at 6:23
answered Jul 25 '18 at 6:17
R.KR.K
183
183
add a comment |
add a comment |
I will take you through the entirety of installing the app on Windows. I just did it, and these instructions work.
If you don't already have node or bower installed, Google "bower install on windows". The first page has the correct instructions. For clarification, the page's title is "How to install NodeJS, Bower, and Grunt..."
After that, you'll want to clone both the front end and the back end of the project.
For the front end, follow these instructions here:
https://github.com/udacity/FEF-UdaciMeals-Backbone
For the back end, follow these instructions:
https://github.com/udacity/FEF-UdaciMeals-Backbone-Server
@T J is correct. You'll want to be in ../../FEF-UdaciMeals-Backbone-Server/binaries when you run ./server_windows.amd64.exe
If you followed the above instructions correctly, then you should be able to launch the application at localhost:8000, which will give you a 404 page not found error. This is normal, because you haven't done anything yet.
add a comment |
I will take you through the entirety of installing the app on Windows. I just did it, and these instructions work.
If you don't already have node or bower installed, Google "bower install on windows". The first page has the correct instructions. For clarification, the page's title is "How to install NodeJS, Bower, and Grunt..."
After that, you'll want to clone both the front end and the back end of the project.
For the front end, follow these instructions here:
https://github.com/udacity/FEF-UdaciMeals-Backbone
For the back end, follow these instructions:
https://github.com/udacity/FEF-UdaciMeals-Backbone-Server
@T J is correct. You'll want to be in ../../FEF-UdaciMeals-Backbone-Server/binaries when you run ./server_windows.amd64.exe
If you followed the above instructions correctly, then you should be able to launch the application at localhost:8000, which will give you a 404 page not found error. This is normal, because you haven't done anything yet.
add a comment |
I will take you through the entirety of installing the app on Windows. I just did it, and these instructions work.
If you don't already have node or bower installed, Google "bower install on windows". The first page has the correct instructions. For clarification, the page's title is "How to install NodeJS, Bower, and Grunt..."
After that, you'll want to clone both the front end and the back end of the project.
For the front end, follow these instructions here:
https://github.com/udacity/FEF-UdaciMeals-Backbone
For the back end, follow these instructions:
https://github.com/udacity/FEF-UdaciMeals-Backbone-Server
@T J is correct. You'll want to be in ../../FEF-UdaciMeals-Backbone-Server/binaries when you run ./server_windows.amd64.exe
If you followed the above instructions correctly, then you should be able to launch the application at localhost:8000, which will give you a 404 page not found error. This is normal, because you haven't done anything yet.
I will take you through the entirety of installing the app on Windows. I just did it, and these instructions work.
If you don't already have node or bower installed, Google "bower install on windows". The first page has the correct instructions. For clarification, the page's title is "How to install NodeJS, Bower, and Grunt..."
After that, you'll want to clone both the front end and the back end of the project.
For the front end, follow these instructions here:
https://github.com/udacity/FEF-UdaciMeals-Backbone
For the back end, follow these instructions:
https://github.com/udacity/FEF-UdaciMeals-Backbone-Server
@T J is correct. You'll want to be in ../../FEF-UdaciMeals-Backbone-Server/binaries when you run ./server_windows.amd64.exe
If you followed the above instructions correctly, then you should be able to launch the application at localhost:8000, which will give you a 404 page not found error. This is normal, because you haven't done anything yet.
answered Aug 2 '16 at 5:25
user2826721user2826721
1
1
add a comment |
add a comment |
This is the correct line to run from the binaries folder:
server_windows_amd64.exe --www ../../FEF-UdaciMeals-Backbone
Then navigate to localhost:8000 and you will see the app.
add a comment |
This is the correct line to run from the binaries folder:
server_windows_amd64.exe --www ../../FEF-UdaciMeals-Backbone
Then navigate to localhost:8000 and you will see the app.
add a comment |
This is the correct line to run from the binaries folder:
server_windows_amd64.exe --www ../../FEF-UdaciMeals-Backbone
Then navigate to localhost:8000 and you will see the app.
This is the correct line to run from the binaries folder:
server_windows_amd64.exe --www ../../FEF-UdaciMeals-Backbone
Then navigate to localhost:8000 and you will see the app.
answered Aug 25 '18 at 19:03


Tabetha MoeTabetha Moe
349312
349312
add a comment |
add a comment |
To --www
flag to the root of your project you need to first determine what OS you are running on - you will need to determine which binary file to run from the binary folder. If you're on Mac OS maybe you would start your code with server_darwin_amd64
. I am running on a Windows OS, so I would use server_windows_amd64.exe
.
Next, correctly writing the whereabouts (directory) of your front-folder, where all the html, css and js are. i.e. FEF-UdaciMeals-Backbone
. I would imperatively use the equal sign here =
. Here is where I would write: --www=../../FEF-UdaciMeals-Backbone
to open to the frontend folder.
In my bash terminal, when I cd
into FEF-UdaciMeals-Backbone-Server/binaries
, I may run the program with the following code: ./server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
.
Lastly, you may find your site via http://localhost:8000
NB: My frontend and backend folder are separated.
Hopefully that helps, or gives you an idea on how to open up your program. :D
add a comment |
To --www
flag to the root of your project you need to first determine what OS you are running on - you will need to determine which binary file to run from the binary folder. If you're on Mac OS maybe you would start your code with server_darwin_amd64
. I am running on a Windows OS, so I would use server_windows_amd64.exe
.
Next, correctly writing the whereabouts (directory) of your front-folder, where all the html, css and js are. i.e. FEF-UdaciMeals-Backbone
. I would imperatively use the equal sign here =
. Here is where I would write: --www=../../FEF-UdaciMeals-Backbone
to open to the frontend folder.
In my bash terminal, when I cd
into FEF-UdaciMeals-Backbone-Server/binaries
, I may run the program with the following code: ./server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
.
Lastly, you may find your site via http://localhost:8000
NB: My frontend and backend folder are separated.
Hopefully that helps, or gives you an idea on how to open up your program. :D
add a comment |
To --www
flag to the root of your project you need to first determine what OS you are running on - you will need to determine which binary file to run from the binary folder. If you're on Mac OS maybe you would start your code with server_darwin_amd64
. I am running on a Windows OS, so I would use server_windows_amd64.exe
.
Next, correctly writing the whereabouts (directory) of your front-folder, where all the html, css and js are. i.e. FEF-UdaciMeals-Backbone
. I would imperatively use the equal sign here =
. Here is where I would write: --www=../../FEF-UdaciMeals-Backbone
to open to the frontend folder.
In my bash terminal, when I cd
into FEF-UdaciMeals-Backbone-Server/binaries
, I may run the program with the following code: ./server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
.
Lastly, you may find your site via http://localhost:8000
NB: My frontend and backend folder are separated.
Hopefully that helps, or gives you an idea on how to open up your program. :D
To --www
flag to the root of your project you need to first determine what OS you are running on - you will need to determine which binary file to run from the binary folder. If you're on Mac OS maybe you would start your code with server_darwin_amd64
. I am running on a Windows OS, so I would use server_windows_amd64.exe
.
Next, correctly writing the whereabouts (directory) of your front-folder, where all the html, css and js are. i.e. FEF-UdaciMeals-Backbone
. I would imperatively use the equal sign here =
. Here is where I would write: --www=../../FEF-UdaciMeals-Backbone
to open to the frontend folder.
In my bash terminal, when I cd
into FEF-UdaciMeals-Backbone-Server/binaries
, I may run the program with the following code: ./server_windows_amd64.exe --www=../../FEF-UdaciMeals-Backbone
.
Lastly, you may find your site via http://localhost:8000
NB: My frontend and backend folder are separated.
Hopefully that helps, or gives you an idea on how to open up your program. :D
answered Jan 1 at 7:23


MonocleBooMonocleBoo
75
75
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37036378%2fbackbone-js-project-configuration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown